using System;
using System.ComponentModel;
using System.Data;
using System.Windows.Forms;
using C1.Win.C1Input;
using C1.Win.C1List;
using PCSComUtils.Common;
using PCSComUtils.Common.BO;
using PCSComUtils.MasterSetup.BO;
using PCSComUtils.MasterSetup.DS;
using PCSComUtils.PCSExc;
using PCSUtils.Log;
using PCSUtils.Utils;
using PCSComUtils.DataContext;

namespace PCSUtils.MasterSetup.SystemTable
{
    /// <summary>
    /// Summary description for Party.
    /// </summary>
    public class Party : Form
    {
        #region Declaration

        #region Form controls
        private System.Windows.Forms.TextBox txtVATCode;
        private System.Windows.Forms.Label lblVATCode;
        private System.Windows.Forms.TextBox txtPhone;
        private System.Windows.Forms.Label lblPhone;
        private System.Windows.Forms.TextBox txtBankAccount;
        private System.Windows.Forms.Label lblBankAccount;
        private System.Windows.Forms.TextBox txtFax;
        private System.Windows.Forms.Label lblFax;
        private C1.Win.C1List.C1Combo cboType;
        private C1.Win.C1List.C1Combo cboCountry;
        private C1.Win.C1List.C1Combo cboCity;
        private Button btnSearchCode;
        private TextBox txtCode;
        private Label lblCode;
        private Button btnSearchName;
        private TextBox txtName;
        private Label lblName;
        private Button btnContacts;
        private Button btnEdit;
        private Button btnClose;
        private Button btnHelp;
        private Button btnDelete;
        private Button btnSave;
        private Button btnAdd;
        private CheckBox chkDelete;
        private Label lblType;
        private TextBox txtWebSite;
        private Label lblWebSite;
        private Button btnLocation;
        private Label lblCountry;
        private TextBox txtZIP;
        private Label lblZIP;
        private TextBox txtState;
        private Label lblState;
        private Label lblCity;
        private TextBox txtAddress;
        private Label lblAddress;
        private Label lblVendor;
        private Label lblCustomer;
        private Label lblBoth;
        /// <summary>
        /// Required designer variable.
        /// </summary>
        private Container components = null;

        #endregion

        private const string THIS = "PCSUtils.MasterSetup.SystemTable.Party";
        private const string DOT = ".";

        UtilsBO boUtils = new UtilsBO();
        PartyBO boParty = new PartyBO();
        private MST_Party voParty = new MST_Party();
        private DataTable tblCityData = new DataTable(MST_CityTable.TABLE_NAME);
        private bool blnDataIsValid = false;

        #endregion Declaration

        private System.Windows.Forms.Label lblPaymentTerm;
        private C1.Win.C1List.C1Combo cboPaymentTerm;
        private System.Windows.Forms.Label lblCurrency;
        private System.Windows.Forms.TextBox txtCurrency;
        private System.Windows.Forms.Button btnCurrency;
        string strLastValidCurrency = string.Empty;
        private System.Windows.Forms.Label lblMAPBankAccountNo;
        private System.Windows.Forms.Label lblMAPBankAccountName;
        private System.Windows.Forms.TextBox txtMAPBankAccNo;
        private System.Windows.Forms.TextBox txtMAPBankAccName;
        private System.Windows.Forms.Label lblVendorOutside;
        private System.Windows.Forms.Label lblApprovalDate;
        private C1.Win.C1Input.C1DateEdit dtmApprovalDate;

        #region Properties

        private EnumAction mFormAction;
        public EnumAction FormAction
        {
            get { return mFormAction; }
            set { mFormAction = value; }
        }

        #endregion Properties

        #region Constructor, Destructor
        public Party()
        {
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();

            //
            // TODO: Add any constructor code after InitializeComponent call
            //
        }

        /// <summary>
        /// Clean up any resources being used.
        /// </summary>
        protected override void Dispose(bool disposing)
        {
            if (disposing)
            {
                if (components != null)
                {
                    components.Dispose();
                }
            }
            base.Dispose(disposing);
        }

        #endregion Constructor, Destructor

        #region Windows Form Designer generated code
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Party));
            this.btnSearchCode = new System.Windows.Forms.Button();
            this.txtCode = new System.Windows.Forms.TextBox();
            this.lblCode = new System.Windows.Forms.Label();
            this.btnSearchName = new System.Windows.Forms.Button();
            this.txtName = new System.Windows.Forms.TextBox();
            this.lblName = new System.Windows.Forms.Label();
            this.btnContacts = new System.Windows.Forms.Button();
            this.btnEdit = new System.Windows.Forms.Button();
            this.btnClose = new System.Windows.Forms.Button();
            this.btnHelp = new System.Windows.Forms.Button();
            this.btnDelete = new System.Windows.Forms.Button();
            this.btnSave = new System.Windows.Forms.Button();
            this.btnAdd = new System.Windows.Forms.Button();
            this.chkDelete = new System.Windows.Forms.CheckBox();
            this.lblType = new System.Windows.Forms.Label();
            this.txtWebSite = new System.Windows.Forms.TextBox();
            this.lblWebSite = new System.Windows.Forms.Label();
            this.btnLocation = new System.Windows.Forms.Button();
            this.lblCountry = new System.Windows.Forms.Label();
            this.txtZIP = new System.Windows.Forms.TextBox();
            this.lblZIP = new System.Windows.Forms.Label();
            this.txtState = new System.Windows.Forms.TextBox();
            this.lblState = new System.Windows.Forms.Label();
            this.lblCity = new System.Windows.Forms.Label();
            this.txtAddress = new System.Windows.Forms.TextBox();
            this.lblAddress = new System.Windows.Forms.Label();
            this.lblVendor = new System.Windows.Forms.Label();
            this.lblCustomer = new System.Windows.Forms.Label();
            this.lblBoth = new System.Windows.Forms.Label();
            this.txtPhone = new System.Windows.Forms.TextBox();
            this.lblPhone = new System.Windows.Forms.Label();
            this.txtFax = new System.Windows.Forms.TextBox();
            this.lblFax = new System.Windows.Forms.Label();
            this.txtVATCode = new System.Windows.Forms.TextBox();
            this.lblVATCode = new System.Windows.Forms.Label();
            this.txtBankAccount = new System.Windows.Forms.TextBox();
            this.lblBankAccount = new System.Windows.Forms.Label();
            this.cboType = new C1.Win.C1List.C1Combo();
            this.cboCountry = new C1.Win.C1List.C1Combo();
            this.cboCity = new C1.Win.C1List.C1Combo();
            this.lblPaymentTerm = new System.Windows.Forms.Label();
            this.cboPaymentTerm = new C1.Win.C1List.C1Combo();
            this.lblCurrency = new System.Windows.Forms.Label();
            this.txtCurrency = new System.Windows.Forms.TextBox();
            this.btnCurrency = new System.Windows.Forms.Button();
            this.txtMAPBankAccNo = new System.Windows.Forms.TextBox();
            this.lblMAPBankAccountNo = new System.Windows.Forms.Label();
            this.txtMAPBankAccName = new System.Windows.Forms.TextBox();
            this.lblMAPBankAccountName = new System.Windows.Forms.Label();
            this.lblVendorOutside = new System.Windows.Forms.Label();
            this.lblApprovalDate = new System.Windows.Forms.Label();
            this.dtmApprovalDate = new C1.Win.C1Input.C1DateEdit();
            ((System.ComponentModel.ISupportInitialize)(this.cboType)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.cboCountry)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.cboCity)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.cboPaymentTerm)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.dtmApprovalDate)).BeginInit();
            this.SuspendLayout();
            // 
            // btnSearchCode
            // 
            this.btnSearchCode.AccessibleDescription = resources.GetString("btnSearchCode.AccessibleDescription");
            this.btnSearchCode.AccessibleName = resources.GetString("btnSearchCode.AccessibleName");
            this.btnSearchCode.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("btnSearchCode.Anchor")));
            this.btnSearchCode.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnSearchCode.BackgroundImage")));
            this.btnSearchCode.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("btnSearchCode.Dock")));
            this.btnSearchCode.Enabled = ((bool)(resources.GetObject("btnSearchCode.Enabled")));
            this.btnSearchCode.FlatStyle = ((System.Windows.Forms.FlatStyle)(resources.GetObject("btnSearchCode.FlatStyle")));
            this.btnSearchCode.Font = ((System.Drawing.Font)(resources.GetObject("btnSearchCode.Font")));
            this.btnSearchCode.Image = ((System.Drawing.Image)(resources.GetObject("btnSearchCode.Image")));
            this.btnSearchCode.ImageAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("btnSearchCode.ImageAlign")));
            this.btnSearchCode.ImageIndex = ((int)(resources.GetObject("btnSearchCode.ImageIndex")));
            this.btnSearchCode.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("btnSearchCode.ImeMode")));
            this.btnSearchCode.Location = ((System.Drawing.Point)(resources.GetObject("btnSearchCode.Location")));
            this.btnSearchCode.Name = "btnSearchCode";
            this.btnSearchCode.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("btnSearchCode.RightToLeft")));
            this.btnSearchCode.Size = ((System.Drawing.Size)(resources.GetObject("btnSearchCode.Size")));
            this.btnSearchCode.TabIndex = ((int)(resources.GetObject("btnSearchCode.TabIndex")));
            this.btnSearchCode.Text = resources.GetString("btnSearchCode.Text");
            this.btnSearchCode.TextAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("btnSearchCode.TextAlign")));
            this.btnSearchCode.Visible = ((bool)(resources.GetObject("btnSearchCode.Visible")));
            this.btnSearchCode.Click += new System.EventHandler(this.btnSearchCode_Click);
            this.btnSearchCode.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Party_KeyDown);
            // 
            // txtCode
            // 
            this.txtCode.AccessibleDescription = resources.GetString("txtCode.AccessibleDescription");
            this.txtCode.AccessibleName = resources.GetString("txtCode.AccessibleName");
            this.txtCode.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("txtCode.Anchor")));
            this.txtCode.AutoSize = ((bool)(resources.GetObject("txtCode.AutoSize")));
            this.txtCode.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("txtCode.BackgroundImage")));
            this.txtCode.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("txtCode.Dock")));
            this.txtCode.Enabled = ((bool)(resources.GetObject("txtCode.Enabled")));
            this.txtCode.Font = ((System.Drawing.Font)(resources.GetObject("txtCode.Font")));
            this.txtCode.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("txtCode.ImeMode")));
            this.txtCode.Location = ((System.Drawing.Point)(resources.GetObject("txtCode.Location")));
            this.txtCode.MaxLength = ((int)(resources.GetObject("txtCode.MaxLength")));
            this.txtCode.Multiline = ((bool)(resources.GetObject("txtCode.Multiline")));
            this.txtCode.Name = "txtCode";
            this.txtCode.PasswordChar = ((char)(resources.GetObject("txtCode.PasswordChar")));
            this.txtCode.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("txtCode.RightToLeft")));
            this.txtCode.ScrollBars = ((System.Windows.Forms.ScrollBars)(resources.GetObject("txtCode.ScrollBars")));
            this.txtCode.Size = ((System.Drawing.Size)(resources.GetObject("txtCode.Size")));
            this.txtCode.TabIndex = ((int)(resources.GetObject("txtCode.TabIndex")));
            this.txtCode.Text = resources.GetString("txtCode.Text");
            this.txtCode.TextAlign = ((System.Windows.Forms.HorizontalAlignment)(resources.GetObject("txtCode.TextAlign")));
            this.txtCode.Visible = ((bool)(resources.GetObject("txtCode.Visible")));
            this.txtCode.WordWrap = ((bool)(resources.GetObject("txtCode.WordWrap")));
            this.txtCode.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtCode_KeyDown);
            this.txtCode.Validating += new System.ComponentModel.CancelEventHandler(this.txtCode_Validating);
            // 
            // lblCode
            // 
            this.lblCode.AccessibleDescription = resources.GetString("lblCode.AccessibleDescription");
            this.lblCode.AccessibleName = resources.GetString("lblCode.AccessibleName");
            this.lblCode.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("lblCode.Anchor")));
            this.lblCode.AutoSize = ((bool)(resources.GetObject("lblCode.AutoSize")));
            this.lblCode.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("lblCode.Dock")));
            this.lblCode.Enabled = ((bool)(resources.GetObject("lblCode.Enabled")));
            this.lblCode.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.lblCode.Font = ((System.Drawing.Font)(resources.GetObject("lblCode.Font")));
            this.lblCode.ForeColor = System.Drawing.Color.Maroon;
            this.lblCode.Image = ((System.Drawing.Image)(resources.GetObject("lblCode.Image")));
            this.lblCode.ImageAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("lblCode.ImageAlign")));
            this.lblCode.ImageIndex = ((int)(resources.GetObject("lblCode.ImageIndex")));
            this.lblCode.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("lblCode.ImeMode")));
            this.lblCode.Location = ((System.Drawing.Point)(resources.GetObject("lblCode.Location")));
            this.lblCode.Name = "lblCode";
            this.lblCode.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("lblCode.RightToLeft")));
            this.lblCode.Size = ((System.Drawing.Size)(resources.GetObject("lblCode.Size")));
            this.lblCode.TabIndex = ((int)(resources.GetObject("lblCode.TabIndex")));
            this.lblCode.Text = resources.GetString("lblCode.Text");
            this.lblCode.TextAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("lblCode.TextAlign")));
            this.lblCode.Visible = ((bool)(resources.GetObject("lblCode.Visible")));
            // 
            // btnSearchName
            // 
            this.btnSearchName.AccessibleDescription = resources.GetString("btnSearchName.AccessibleDescription");
            this.btnSearchName.AccessibleName = resources.GetString("btnSearchName.AccessibleName");
            this.btnSearchName.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("btnSearchName.Anchor")));
            this.btnSearchName.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnSearchName.BackgroundImage")));
            this.btnSearchName.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("btnSearchName.Dock")));
            this.btnSearchName.Enabled = ((bool)(resources.GetObject("btnSearchName.Enabled")));
            this.btnSearchName.FlatStyle = ((System.Windows.Forms.FlatStyle)(resources.GetObject("btnSearchName.FlatStyle")));
            this.btnSearchName.Font = ((System.Drawing.Font)(resources.GetObject("btnSearchName.Font")));
            this.btnSearchName.Image = ((System.Drawing.Image)(resources.GetObject("btnSearchName.Image")));
            this.btnSearchName.ImageAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("btnSearchName.ImageAlign")));
            this.btnSearchName.ImageIndex = ((int)(resources.GetObject("btnSearchName.ImageIndex")));
            this.btnSearchName.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("btnSearchName.ImeMode")));
            this.btnSearchName.Location = ((System.Drawing.Point)(resources.GetObject("btnSearchName.Location")));
            this.btnSearchName.Name = "btnSearchName";
            this.btnSearchName.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("btnSearchName.RightToLeft")));
            this.btnSearchName.Size = ((System.Drawing.Size)(resources.GetObject("btnSearchName.Size")));
            this.btnSearchName.TabIndex = ((int)(resources.GetObject("btnSearchName.TabIndex")));
            this.btnSearchName.Text = resources.GetString("btnSearchName.Text");
            this.btnSearchName.TextAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("btnSearchName.TextAlign")));
            this.btnSearchName.Visible = ((bool)(resources.GetObject("btnSearchName.Visible")));
            this.btnSearchName.Click += new System.EventHandler(this.btnSearchName_Click);
            this.btnSearchName.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Party_KeyDown);
            // 
            // txtName
            // 
            this.txtName.AccessibleDescription = resources.GetString("txtName.AccessibleDescription");
            this.txtName.AccessibleName = resources.GetString("txtName.AccessibleName");
            this.txtName.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("txtName.Anchor")));
            this.txtName.AutoSize = ((bool)(resources.GetObject("txtName.AutoSize")));
            this.txtName.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("txtName.BackgroundImage")));
            this.txtName.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("txtName.Dock")));
            this.txtName.Enabled = ((bool)(resources.GetObject("txtName.Enabled")));
            this.txtName.Font = ((System.Drawing.Font)(resources.GetObject("txtName.Font")));
            this.txtName.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("txtName.ImeMode")));
            this.txtName.Location = ((System.Drawing.Point)(resources.GetObject("txtName.Location")));
            this.txtName.MaxLength = ((int)(resources.GetObject("txtName.MaxLength")));
            this.txtName.Multiline = ((bool)(resources.GetObject("txtName.Multiline")));
            this.txtName.Name = "txtName";
            this.txtName.PasswordChar = ((char)(resources.GetObject("txtName.PasswordChar")));
            this.txtName.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("txtName.RightToLeft")));
            this.txtName.ScrollBars = ((System.Windows.Forms.ScrollBars)(resources.GetObject("txtName.ScrollBars")));
            this.txtName.Size = ((System.Drawing.Size)(resources.GetObject("txtName.Size")));
            this.txtName.TabIndex = ((int)(resources.GetObject("txtName.TabIndex")));
            this.txtName.Text = resources.GetString("txtName.Text");
            this.txtName.TextAlign = ((System.Windows.Forms.HorizontalAlignment)(resources.GetObject("txtName.TextAlign")));
            this.txtName.Visible = ((bool)(resources.GetObject("txtName.Visible")));
            this.txtName.WordWrap = ((bool)(resources.GetObject("txtName.WordWrap")));
            this.txtName.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtName_KeyDown);
            this.txtName.Validating += new System.ComponentModel.CancelEventHandler(this.txtName_Validating);
            // 
            // lblName
            // 
            this.lblName.AccessibleDescription = resources.GetString("lblName.AccessibleDescription");
            this.lblName.AccessibleName = resources.GetString("lblName.AccessibleName");
            this.lblName.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("lblName.Anchor")));
            this.lblName.AutoSize = ((bool)(resources.GetObject("lblName.AutoSize")));
            this.lblName.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("lblName.Dock")));
            this.lblName.Enabled = ((bool)(resources.GetObject("lblName.Enabled")));
            this.lblName.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.lblName.Font = ((System.Drawing.Font)(resources.GetObject("lblName.Font")));
            this.lblName.ForeColor = System.Drawing.Color.Maroon;
            this.lblName.Image = ((System.Drawing.Image)(resources.GetObject("lblName.Image")));
            this.lblName.ImageAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("lblName.ImageAlign")));
            this.lblName.ImageIndex = ((int)(resources.GetObject("lblName.ImageIndex")));
            this.lblName.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("lblName.ImeMode")));
            this.lblName.Location = ((System.Drawing.Point)(resources.GetObject("lblName.Location")));
            this.lblName.Name = "lblName";
            this.lblName.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("lblName.RightToLeft")));
            this.lblName.Size = ((System.Drawing.Size)(resources.GetObject("lblName.Size")));
            this.lblName.TabIndex = ((int)(resources.GetObject("lblName.TabIndex")));
            this.lblName.Text = resources.GetString("lblName.Text");
            this.lblName.TextAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("lblName.TextAlign")));
            this.lblName.Visible = ((bool)(resources.GetObject("lblName.Visible")));
            // 
            // btnContacts
            // 
            this.btnContacts.AccessibleDescription = resources.GetString("btnContacts.AccessibleDescription");
            this.btnContacts.AccessibleName = resources.GetString("btnContacts.AccessibleName");
            this.btnContacts.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("btnContacts.Anchor")));
            this.btnContacts.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnContacts.BackgroundImage")));
            this.btnContacts.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("btnContacts.Dock")));
            this.btnContacts.Enabled = ((bool)(resources.GetObject("btnContacts.Enabled")));
            this.btnContacts.FlatStyle = ((System.Windows.Forms.FlatStyle)(resources.GetObject("btnContacts.FlatStyle")));
            this.btnContacts.Font = ((System.Drawing.Font)(resources.GetObject("btnContacts.Font")));
            this.btnContacts.Image = ((System.Drawing.Image)(resources.GetObject("btnContacts.Image")));
            this.btnContacts.ImageAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("btnContacts.ImageAlign")));
            this.btnContacts.ImageIndex = ((int)(resources.GetObject("btnContacts.ImageIndex")));
            this.btnContacts.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("btnContacts.ImeMode")));
            this.btnContacts.Location = ((System.Drawing.Point)(resources.GetObject("btnContacts.Location")));
            this.btnContacts.Name = "btnContacts";
            this.btnContacts.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("btnContacts.RightToLeft")));
            this.btnContacts.Size = ((System.Drawing.Size)(resources.GetObject("btnContacts.Size")));
            this.btnContacts.TabIndex = ((int)(resources.GetObject("btnContacts.TabIndex")));
            this.btnContacts.Text = resources.GetString("btnContacts.Text");
            this.btnContacts.TextAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("btnContacts.TextAlign")));
            this.btnContacts.Visible = ((bool)(resources.GetObject("btnContacts.Visible")));
            this.btnContacts.Click += new System.EventHandler(this.btnContacts_Click);
            // 
            // btnEdit
            // 
            this.btnEdit.AccessibleDescription = resources.GetString("btnEdit.AccessibleDescription");
            this.btnEdit.AccessibleName = resources.GetString("btnEdit.AccessibleName");
            this.btnEdit.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("btnEdit.Anchor")));
            this.btnEdit.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnEdit.BackgroundImage")));
            this.btnEdit.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("btnEdit.Dock")));
            this.btnEdit.Enabled = ((bool)(resources.GetObject("btnEdit.Enabled")));
            this.btnEdit.FlatStyle = ((System.Windows.Forms.FlatStyle)(resources.GetObject("btnEdit.FlatStyle")));
            this.btnEdit.Font = ((System.Drawing.Font)(resources.GetObject("btnEdit.Font")));
            this.btnEdit.Image = ((System.Drawing.Image)(resources.GetObject("btnEdit.Image")));
            this.btnEdit.ImageAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("btnEdit.ImageAlign")));
            this.btnEdit.ImageIndex = ((int)(resources.GetObject("btnEdit.ImageIndex")));
            this.btnEdit.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("btnEdit.ImeMode")));
            this.btnEdit.Location = ((System.Drawing.Point)(resources.GetObject("btnEdit.Location")));
            this.btnEdit.Name = "btnEdit";
            this.btnEdit.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("btnEdit.RightToLeft")));
            this.btnEdit.Size = ((System.Drawing.Size)(resources.GetObject("btnEdit.Size")));
            this.btnEdit.TabIndex = ((int)(resources.GetObject("btnEdit.TabIndex")));
            this.btnEdit.Text = resources.GetString("btnEdit.Text");
            this.btnEdit.TextAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("btnEdit.TextAlign")));
            this.btnEdit.Visible = ((bool)(resources.GetObject("btnEdit.Visible")));
            this.btnEdit.Click += new System.EventHandler(this.btnEdit_Click);
            // 
            // btnClose
            // 
            this.btnClose.AccessibleDescription = resources.GetString("btnClose.AccessibleDescription");
            this.btnClose.AccessibleName = resources.GetString("btnClose.AccessibleName");
            this.btnClose.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("btnClose.Anchor")));
            this.btnClose.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnClose.BackgroundImage")));
            this.btnClose.DialogResult = System.Windows.Forms.DialogResult.Cancel;
            this.btnClose.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("btnClose.Dock")));
            this.btnClose.Enabled = ((bool)(resources.GetObject("btnClose.Enabled")));
            this.btnClose.FlatStyle = ((System.Windows.Forms.FlatStyle)(resources.GetObject("btnClose.FlatStyle")));
            this.btnClose.Font = ((System.Drawing.Font)(resources.GetObject("btnClose.Font")));
            this.btnClose.Image = ((System.Drawing.Image)(resources.GetObject("btnClose.Image")));
            this.btnClose.ImageAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("btnClose.ImageAlign")));
            this.btnClose.ImageIndex = ((int)(resources.GetObject("btnClose.ImageIndex")));
            this.btnClose.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("btnClose.ImeMode")));
            this.btnClose.Location = ((System.Drawing.Point)(resources.GetObject("btnClose.Location")));
            this.btnClose.Name = "btnClose";
            this.btnClose.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("btnClose.RightToLeft")));
            this.btnClose.Size = ((System.Drawing.Size)(resources.GetObject("btnClose.Size")));
            this.btnClose.TabIndex = ((int)(resources.GetObject("btnClose.TabIndex")));
            this.btnClose.Text = resources.GetString("btnClose.Text");
            this.btnClose.TextAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("btnClose.TextAlign")));
            this.btnClose.Visible = ((bool)(resources.GetObject("btnClose.Visible")));
            this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
            // 
            // btnHelp
            // 
            this.btnHelp.AccessibleDescription = resources.GetString("btnHelp.AccessibleDescription");
            this.btnHelp.AccessibleName = resources.GetString("btnHelp.AccessibleName");
            this.btnHelp.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("btnHelp.Anchor")));
            this.btnHelp.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnHelp.BackgroundImage")));
            this.btnHelp.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("btnHelp.Dock")));
            this.btnHelp.Enabled = ((bool)(resources.GetObject("btnHelp.Enabled")));
            this.btnHelp.FlatStyle = ((System.Windows.Forms.FlatStyle)(resources.GetObject("btnHelp.FlatStyle")));
            this.btnHelp.Font = ((System.Drawing.Font)(resources.GetObject("btnHelp.Font")));
            this.btnHelp.Image = ((System.Drawing.Image)(resources.GetObject("btnHelp.Image")));
            this.btnHelp.ImageAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("btnHelp.ImageAlign")));
            this.btnHelp.ImageIndex = ((int)(resources.GetObject("btnHelp.ImageIndex")));
            this.btnHelp.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("btnHelp.ImeMode")));
            this.btnHelp.Location = ((System.Drawing.Point)(resources.GetObject("btnHelp.Location")));
            this.btnHelp.Name = "btnHelp";
            this.btnHelp.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("btnHelp.RightToLeft")));
            this.btnHelp.Size = ((System.Drawing.Size)(resources.GetObject("btnHelp.Size")));
            this.btnHelp.TabIndex = ((int)(resources.GetObject("btnHelp.TabIndex")));
            this.btnHelp.Text = resources.GetString("btnHelp.Text");
            this.btnHelp.TextAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("btnHelp.TextAlign")));
            this.btnHelp.Visible = ((bool)(resources.GetObject("btnHelp.Visible")));
            this.btnHelp.Click += new System.EventHandler(this.btnHelp_Click);
            // 
            // btnDelete
            // 
            this.btnDelete.AccessibleDescription = resources.GetString("btnDelete.AccessibleDescription");
            this.btnDelete.AccessibleName = resources.GetString("btnDelete.AccessibleName");
            this.btnDelete.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("btnDelete.Anchor")));
            this.btnDelete.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnDelete.BackgroundImage")));
            this.btnDelete.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("btnDelete.Dock")));
            this.btnDelete.Enabled = ((bool)(resources.GetObject("btnDelete.Enabled")));
            this.btnDelete.FlatStyle = ((System.Windows.Forms.FlatStyle)(resources.GetObject("btnDelete.FlatStyle")));
            this.btnDelete.Font = ((System.Drawing.Font)(resources.GetObject("btnDelete.Font")));
            this.btnDelete.Image = ((System.Drawing.Image)(resources.GetObject("btnDelete.Image")));
            this.btnDelete.ImageAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("btnDelete.ImageAlign")));
            this.btnDelete.ImageIndex = ((int)(resources.GetObject("btnDelete.ImageIndex")));
            this.btnDelete.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("btnDelete.ImeMode")));
            this.btnDelete.Location = ((System.Drawing.Point)(resources.GetObject("btnDelete.Location")));
            this.btnDelete.Name = "btnDelete";
            this.btnDelete.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("btnDelete.RightToLeft")));
            this.btnDelete.Size = ((System.Drawing.Size)(resources.GetObject("btnDelete.Size")));
            this.btnDelete.TabIndex = ((int)(resources.GetObject("btnDelete.TabIndex")));
            this.btnDelete.Text = resources.GetString("btnDelete.Text");
            this.btnDelete.TextAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("btnDelete.TextAlign")));
            this.btnDelete.Visible = ((bool)(resources.GetObject("btnDelete.Visible")));
            this.btnDelete.Click += new System.EventHandler(this.btnDelete_Click);
            // 
            // btnSave
            // 
            this.btnSave.AccessibleDescription = resources.GetString("btnSave.AccessibleDescription");
            this.btnSave.AccessibleName = resources.GetString("btnSave.AccessibleName");
            this.btnSave.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("btnSave.Anchor")));
            this.btnSave.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnSave.BackgroundImage")));
            this.btnSave.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("btnSave.Dock")));
            this.btnSave.Enabled = ((bool)(resources.GetObject("btnSave.Enabled")));
            this.btnSave.FlatStyle = ((System.Windows.Forms.FlatStyle)(resources.GetObject("btnSave.FlatStyle")));
            this.btnSave.Font = ((System.Drawing.Font)(resources.GetObject("btnSave.Font")));
            this.btnSave.Image = ((System.Drawing.Image)(resources.GetObject("btnSave.Image")));
            this.btnSave.ImageAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("btnSave.ImageAlign")));
            this.btnSave.ImageIndex = ((int)(resources.GetObject("btnSave.ImageIndex")));
            this.btnSave.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("btnSave.ImeMode")));
            this.btnSave.Location = ((System.Drawing.Point)(resources.GetObject("btnSave.Location")));
            this.btnSave.Name = "btnSave";
            this.btnSave.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("btnSave.RightToLeft")));
            this.btnSave.Size = ((System.Drawing.Size)(resources.GetObject("btnSave.Size")));
            this.btnSave.TabIndex = ((int)(resources.GetObject("btnSave.TabIndex")));
            this.btnSave.Text = resources.GetString("btnSave.Text");
            this.btnSave.TextAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("btnSave.TextAlign")));
            this.btnSave.Visible = ((bool)(resources.GetObject("btnSave.Visible")));
            this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
            // 
            // btnAdd
            // 
            this.btnAdd.AccessibleDescription = resources.GetString("btnAdd.AccessibleDescription");
            this.btnAdd.AccessibleName = resources.GetString("btnAdd.AccessibleName");
            this.btnAdd.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("btnAdd.Anchor")));
            this.btnAdd.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnAdd.BackgroundImage")));
            this.btnAdd.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("btnAdd.Dock")));
            this.btnAdd.Enabled = ((bool)(resources.GetObject("btnAdd.Enabled")));
            this.btnAdd.FlatStyle = ((System.Windows.Forms.FlatStyle)(resources.GetObject("btnAdd.FlatStyle")));
            this.btnAdd.Font = ((System.Drawing.Font)(resources.GetObject("btnAdd.Font")));
            this.btnAdd.Image = ((System.Drawing.Image)(resources.GetObject("btnAdd.Image")));
            this.btnAdd.ImageAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("btnAdd.ImageAlign")));
            this.btnAdd.ImageIndex = ((int)(resources.GetObject("btnAdd.ImageIndex")));
            this.btnAdd.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("btnAdd.ImeMode")));
            this.btnAdd.Location = ((System.Drawing.Point)(resources.GetObject("btnAdd.Location")));
            this.btnAdd.Name = "btnAdd";
            this.btnAdd.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("btnAdd.RightToLeft")));
            this.btnAdd.Size = ((System.Drawing.Size)(resources.GetObject("btnAdd.Size")));
            this.btnAdd.TabIndex = ((int)(resources.GetObject("btnAdd.TabIndex")));
            this.btnAdd.Text = resources.GetString("btnAdd.Text");
            this.btnAdd.TextAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("btnAdd.TextAlign")));
            this.btnAdd.Visible = ((bool)(resources.GetObject("btnAdd.Visible")));
            this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click);
            // 
            // chkDelete
            // 
            this.chkDelete.AccessibleDescription = resources.GetString("chkDelete.AccessibleDescription");
            this.chkDelete.AccessibleName = resources.GetString("chkDelete.AccessibleName");
            this.chkDelete.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("chkDelete.Anchor")));
            this.chkDelete.Appearance = ((System.Windows.Forms.Appearance)(resources.GetObject("chkDelete.Appearance")));
            this.chkDelete.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("chkDelete.BackgroundImage")));
            this.chkDelete.CheckAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("chkDelete.CheckAlign")));
            this.chkDelete.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("chkDelete.Dock")));
            this.chkDelete.Enabled = ((bool)(resources.GetObject("chkDelete.Enabled")));
            this.chkDelete.FlatStyle = ((System.Windows.Forms.FlatStyle)(resources.GetObject("chkDelete.FlatStyle")));
            this.chkDelete.Font = ((System.Drawing.Font)(resources.GetObject("chkDelete.Font")));
            this.chkDelete.Image = ((System.Drawing.Image)(resources.GetObject("chkDelete.Image")));
            this.chkDelete.ImageAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("chkDelete.ImageAlign")));
            this.chkDelete.ImageIndex = ((int)(resources.GetObject("chkDelete.ImageIndex")));
            this.chkDelete.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("chkDelete.ImeMode")));
            this.chkDelete.Location = ((System.Drawing.Point)(resources.GetObject("chkDelete.Location")));
            this.chkDelete.Name = "chkDelete";
            this.chkDelete.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("chkDelete.RightToLeft")));
            this.chkDelete.Size = ((System.Drawing.Size)(resources.GetObject("chkDelete.Size")));
            this.chkDelete.TabIndex = ((int)(resources.GetObject("chkDelete.TabIndex")));
            this.chkDelete.Text = resources.GetString("chkDelete.Text");
            this.chkDelete.TextAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("chkDelete.TextAlign")));
            this.chkDelete.Visible = ((bool)(resources.GetObject("chkDelete.Visible")));
            // 
            // lblType
            // 
            this.lblType.AccessibleDescription = resources.GetString("lblType.AccessibleDescription");
            this.lblType.AccessibleName = resources.GetString("lblType.AccessibleName");
            this.lblType.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("lblType.Anchor")));
            this.lblType.AutoSize = ((bool)(resources.GetObject("lblType.AutoSize")));
            this.lblType.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("lblType.Dock")));
            this.lblType.Enabled = ((bool)(resources.GetObject("lblType.Enabled")));
            this.lblType.Font = ((System.Drawing.Font)(resources.GetObject("lblType.Font")));
            this.lblType.ForeColor = System.Drawing.Color.Maroon;
            this.lblType.Image = ((System.Drawing.Image)(resources.GetObject("lblType.Image")));
            this.lblType.ImageAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("lblType.ImageAlign")));
            this.lblType.ImageIndex = ((int)(resources.GetObject("lblType.ImageIndex")));
            this.lblType.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("lblType.ImeMode")));
            this.lblType.Location = ((System.Drawing.Point)(resources.GetObject("lblType.Location")));
            this.lblType.Name = "lblType";
            this.lblType.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("lblType.RightToLeft")));
            this.lblType.Size = ((System.Drawing.Size)(resources.GetObject("lblType.Size")));
            this.lblType.TabIndex = ((int)(resources.GetObject("lblType.TabIndex")));
            this.lblType.Text = resources.GetString("lblType.Text");
            this.lblType.TextAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("lblType.TextAlign")));
            this.lblType.Visible = ((bool)(resources.GetObject("lblType.Visible")));
            // 
            // txtWebSite
            // 
            this.txtWebSite.AccessibleDescription = resources.GetString("txtWebSite.AccessibleDescription");
            this.txtWebSite.AccessibleName = resources.GetString("txtWebSite.AccessibleName");
            this.txtWebSite.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("txtWebSite.Anchor")));
            this.txtWebSite.AutoSize = ((bool)(resources.GetObject("txtWebSite.AutoSize")));
            this.txtWebSite.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("txtWebSite.BackgroundImage")));
            this.txtWebSite.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("txtWebSite.Dock")));
            this.txtWebSite.Enabled = ((bool)(resources.GetObject("txtWebSite.Enabled")));
            this.txtWebSite.Font = ((System.Drawing.Font)(resources.GetObject("txtWebSite.Font")));
            this.txtWebSite.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("txtWebSite.ImeMode")));
            this.txtWebSite.Location = ((System.Drawing.Point)(resources.GetObject("txtWebSite.Location")));
            this.txtWebSite.MaxLength = ((int)(resources.GetObject("txtWebSite.MaxLength")));
            this.txtWebSite.Multiline = ((bool)(resources.GetObject("txtWebSite.Multiline")));
            this.txtWebSite.Name = "txtWebSite";
            this.txtWebSite.PasswordChar = ((char)(resources.GetObject("txtWebSite.PasswordChar")));
            this.txtWebSite.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("txtWebSite.RightToLeft")));
            this.txtWebSite.ScrollBars = ((System.Windows.Forms.ScrollBars)(resources.GetObject("txtWebSite.ScrollBars")));
            this.txtWebSite.Size = ((System.Drawing.Size)(resources.GetObject("txtWebSite.Size")));
            this.txtWebSite.TabIndex = ((int)(resources.GetObject("txtWebSite.TabIndex")));
            this.txtWebSite.Text = resources.GetString("txtWebSite.Text");
            this.txtWebSite.TextAlign = ((System.Windows.Forms.HorizontalAlignment)(resources.GetObject("txtWebSite.TextAlign")));
            this.txtWebSite.Visible = ((bool)(resources.GetObject("txtWebSite.Visible")));
            this.txtWebSite.WordWrap = ((bool)(resources.GetObject("txtWebSite.WordWrap")));
            this.txtWebSite.Leave += new System.EventHandler(this.OnLeaveControl);
            this.txtWebSite.Enter += new System.EventHandler(this.OnEnterControl);
            // 
            // lblWebSite
            // 
            this.lblWebSite.AccessibleDescription = resources.GetString("lblWebSite.AccessibleDescription");
            this.lblWebSite.AccessibleName = resources.GetString("lblWebSite.AccessibleName");
            this.lblWebSite.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("lblWebSite.Anchor")));
            this.lblWebSite.AutoSize = ((bool)(resources.GetObject("lblWebSite.AutoSize")));
            this.lblWebSite.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("lblWebSite.Dock")));
            this.lblWebSite.Enabled = ((bool)(resources.GetObject("lblWebSite.Enabled")));
            this.lblWebSite.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.lblWebSite.Font = ((System.Drawing.Font)(resources.GetObject("lblWebSite.Font")));
            this.lblWebSite.ForeColor = System.Drawing.SystemColors.ControlText;
            this.lblWebSite.Image = ((System.Drawing.Image)(resources.GetObject("lblWebSite.Image")));
            this.lblWebSite.ImageAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("lblWebSite.ImageAlign")));
            this.lblWebSite.ImageIndex = ((int)(resources.GetObject("lblWebSite.ImageIndex")));
            this.lblWebSite.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("lblWebSite.ImeMode")));
            this.lblWebSite.Location = ((System.Drawing.Point)(resources.GetObject("lblWebSite.Location")));
            this.lblWebSite.Name = "lblWebSite";
            this.lblWebSite.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("lblWebSite.RightToLeft")));
            this.lblWebSite.Size = ((System.Drawing.Size)(resources.GetObject("lblWebSite.Size")));
            this.lblWebSite.TabIndex = ((int)(resources.GetObject("lblWebSite.TabIndex")));
            this.lblWebSite.Text = resources.GetString("lblWebSite.Text");
            this.lblWebSite.TextAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("lblWebSite.TextAlign")));
            this.lblWebSite.Visible = ((bool)(resources.GetObject("lblWebSite.Visible")));
            // 
            // btnLocation
            // 
            this.btnLocation.AccessibleDescription = resources.GetString("btnLocation.AccessibleDescription");
            this.btnLocation.AccessibleName = resources.GetString("btnLocation.AccessibleName");
            this.btnLocation.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("btnLocation.Anchor")));
            this.btnLocation.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnLocation.BackgroundImage")));
            this.btnLocation.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("btnLocation.Dock")));
            this.btnLocation.Enabled = ((bool)(resources.GetObject("btnLocation.Enabled")));
            this.btnLocation.FlatStyle = ((System.Windows.Forms.FlatStyle)(resources.GetObject("btnLocation.FlatStyle")));
            this.btnLocation.Font = ((System.Drawing.Font)(resources.GetObject("btnLocation.Font")));
            this.btnLocation.Image = ((System.Drawing.Image)(resources.GetObject("btnLocation.Image")));
            this.btnLocation.ImageAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("btnLocation.ImageAlign")));
            this.btnLocation.ImageIndex = ((int)(resources.GetObject("btnLocation.ImageIndex")));
            this.btnLocation.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("btnLocation.ImeMode")));
            this.btnLocation.Location = ((System.Drawing.Point)(resources.GetObject("btnLocation.Location")));
            this.btnLocation.Name = "btnLocation";
            this.btnLocation.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("btnLocation.RightToLeft")));
            this.btnLocation.Size = ((System.Drawing.Size)(resources.GetObject("btnLocation.Size")));
            this.btnLocation.TabIndex = ((int)(resources.GetObject("btnLocation.TabIndex")));
            this.btnLocation.Text = resources.GetString("btnLocation.Text");
            this.btnLocation.TextAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("btnLocation.TextAlign")));
            this.btnLocation.Visible = ((bool)(resources.GetObject("btnLocation.Visible")));
            this.btnLocation.Click += new System.EventHandler(this.btnLocation_Click);
            // 
            // lblCountry
            // 
            this.lblCountry.AccessibleDescription = resources.GetString("lblCountry.AccessibleDescription");
            this.lblCountry.AccessibleName = resources.GetString("lblCountry.AccessibleName");
            this.lblCountry.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("lblCountry.Anchor")));
            this.lblCountry.AutoSize = ((bool)(resources.GetObject("lblCountry.AutoSize")));
            this.lblCountry.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("lblCountry.Dock")));
            this.lblCountry.Enabled = ((bool)(resources.GetObject("lblCountry.Enabled")));
            this.lblCountry.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.lblCountry.Font = ((System.Drawing.Font)(resources.GetObject("lblCountry.Font")));
            this.lblCountry.ForeColor = System.Drawing.Color.Maroon;
            this.lblCountry.Image = ((System.Drawing.Image)(resources.GetObject("lblCountry.Image")));
            this.lblCountry.ImageAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("lblCountry.ImageAlign")));
            this.lblCountry.ImageIndex = ((int)(resources.GetObject("lblCountry.ImageIndex")));
            this.lblCountry.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("lblCountry.ImeMode")));
            this.lblCountry.Location = ((System.Drawing.Point)(resources.GetObject("lblCountry.Location")));
            this.lblCountry.Name = "lblCountry";
            this.lblCountry.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("lblCountry.RightToLeft")));
            this.lblCountry.Size = ((System.Drawing.Size)(resources.GetObject("lblCountry.Size")));
            this.lblCountry.TabIndex = ((int)(resources.GetObject("lblCountry.TabIndex")));
            this.lblCountry.Text = resources.GetString("lblCountry.Text");
            this.lblCountry.TextAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("lblCountry.TextAlign")));
            this.lblCountry.Visible = ((bool)(resources.GetObject("lblCountry.Visible")));
            // 
            // txtZIP
            // 
            this.txtZIP.AccessibleDescription = resources.GetString("txtZIP.AccessibleDescription");
            this.txtZIP.AccessibleName = resources.GetString("txtZIP.AccessibleName");
            this.txtZIP.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("txtZIP.Anchor")));
            this.txtZIP.AutoSize = ((bool)(resources.GetObject("txtZIP.AutoSize")));
            this.txtZIP.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("txtZIP.BackgroundImage")));
            this.txtZIP.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("txtZIP.Dock")));
            this.txtZIP.Enabled = ((bool)(resources.GetObject("txtZIP.Enabled")));
            this.txtZIP.Font = ((System.Drawing.Font)(resources.GetObject("txtZIP.Font")));
            this.txtZIP.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("txtZIP.ImeMode")));
            this.txtZIP.Location = ((System.Drawing.Point)(resources.GetObject("txtZIP.Location")));
            this.txtZIP.MaxLength = ((int)(resources.GetObject("txtZIP.MaxLength")));
            this.txtZIP.Multiline = ((bool)(resources.GetObject("txtZIP.Multiline")));
            this.txtZIP.Name = "txtZIP";
            this.txtZIP.PasswordChar = ((char)(resources.GetObject("txtZIP.PasswordChar")));
            this.txtZIP.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("txtZIP.RightToLeft")));
            this.txtZIP.ScrollBars = ((System.Windows.Forms.ScrollBars)(resources.GetObject("txtZIP.ScrollBars")));
            this.txtZIP.Size = ((System.Drawing.Size)(resources.GetObject("txtZIP.Size")));
            this.txtZIP.TabIndex = ((int)(resources.GetObject("txtZIP.TabIndex")));
            this.txtZIP.Text = resources.GetString("txtZIP.Text");
            this.txtZIP.TextAlign = ((System.Windows.Forms.HorizontalAlignment)(resources.GetObject("txtZIP.TextAlign")));
            this.txtZIP.Visible = ((bool)(resources.GetObject("txtZIP.Visible")));
            this.txtZIP.WordWrap = ((bool)(resources.GetObject("txtZIP.WordWrap")));
            this.txtZIP.Leave += new System.EventHandler(this.OnLeaveControl);
            this.txtZIP.Enter += new System.EventHandler(this.OnEnterControl);
            // 
            // lblZIP
            // 
            this.lblZIP.AccessibleDescription = resources.GetString("lblZIP.AccessibleDescription");
            this.lblZIP.AccessibleName = resources.GetString("lblZIP.AccessibleName");
            this.lblZIP.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("lblZIP.Anchor")));
            this.lblZIP.AutoSize = ((bool)(resources.GetObject("lblZIP.AutoSize")));
            this.lblZIP.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("lblZIP.Dock")));
            this.lblZIP.Enabled = ((bool)(resources.GetObject("lblZIP.Enabled")));
            this.lblZIP.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.lblZIP.Font = ((System.Drawing.Font)(resources.GetObject("lblZIP.Font")));
            this.lblZIP.ForeColor = System.Drawing.SystemColors.ControlText;
            this.lblZIP.Image = ((System.Drawing.Image)(resources.GetObject("lblZIP.Image")));
            this.lblZIP.ImageAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("lblZIP.ImageAlign")));
            this.lblZIP.ImageIndex = ((int)(resources.GetObject("lblZIP.ImageIndex")));
            this.lblZIP.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("lblZIP.ImeMode")));
            this.lblZIP.Location = ((System.Drawing.Point)(resources.GetObject("lblZIP.Location")));
            this.lblZIP.Name = "lblZIP";
            this.lblZIP.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("lblZIP.RightToLeft")));
            this.lblZIP.Size = ((System.Drawing.Size)(resources.GetObject("lblZIP.Size")));
            this.lblZIP.TabIndex = ((int)(resources.GetObject("lblZIP.TabIndex")));
            this.lblZIP.Text = resources.GetString("lblZIP.Text");
            this.lblZIP.TextAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("lblZIP.TextAlign")));
            this.lblZIP.Visible = ((bool)(resources.GetObject("lblZIP.Visible")));
            // 
            // txtState
            // 
            this.txtState.AccessibleDescription = resources.GetString("txtState.AccessibleDescription");
            this.txtState.AccessibleName = resources.GetString("txtState.AccessibleName");
            this.txtState.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("txtState.Anchor")));
            this.txtState.AutoSize = ((bool)(resources.GetObject("txtState.AutoSize")));
            this.txtState.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("txtState.BackgroundImage")));
            this.txtState.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("txtState.Dock")));
            this.txtState.Enabled = ((bool)(resources.GetObject("txtState.Enabled")));
            this.txtState.Font = ((System.Drawing.Font)(resources.GetObject("txtState.Font")));
            this.txtState.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("txtState.ImeMode")));
            this.txtState.Location = ((System.Drawing.Point)(resources.GetObject("txtState.Location")));
            this.txtState.MaxLength = ((int)(resources.GetObject("txtState.MaxLength")));
            this.txtState.Multiline = ((bool)(resources.GetObject("txtState.Multiline")));
            this.txtState.Name = "txtState";
            this.txtState.PasswordChar = ((char)(resources.GetObject("txtState.PasswordChar")));
            this.txtState.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("txtState.RightToLeft")));
            this.txtState.ScrollBars = ((System.Windows.Forms.ScrollBars)(resources.GetObject("txtState.ScrollBars")));
            this.txtState.Size = ((System.Drawing.Size)(resources.GetObject("txtState.Size")));
            this.txtState.TabIndex = ((int)(resources.GetObject("txtState.TabIndex")));
            this.txtState.Text = resources.GetString("txtState.Text");
            this.txtState.TextAlign = ((System.Windows.Forms.HorizontalAlignment)(resources.GetObject("txtState.TextAlign")));
            this.txtState.Visible = ((bool)(resources.GetObject("txtState.Visible")));
            this.txtState.WordWrap = ((bool)(resources.GetObject("txtState.WordWrap")));
            this.txtState.Leave += new System.EventHandler(this.OnLeaveControl);
            this.txtState.Enter += new System.EventHandler(this.OnEnterControl);
            // 
            // lblState
            // 
            this.lblState.AccessibleDescription = resources.GetString("lblState.AccessibleDescription");
            this.lblState.AccessibleName = resources.GetString("lblState.AccessibleName");
            this.lblState.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("lblState.Anchor")));
            this.lblState.AutoSize = ((bool)(resources.GetObject("lblState.AutoSize")));
            this.lblState.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("lblState.Dock")));
            this.lblState.Enabled = ((bool)(resources.GetObject("lblState.Enabled")));
            this.lblState.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.lblState.Font = ((System.Drawing.Font)(resources.GetObject("lblState.Font")));
            this.lblState.ForeColor = System.Drawing.SystemColors.ControlText;
            this.lblState.Image = ((System.Drawing.Image)(resources.GetObject("lblState.Image")));
            this.lblState.ImageAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("lblState.ImageAlign")));
            this.lblState.ImageIndex = ((int)(resources.GetObject("lblState.ImageIndex")));
            this.lblState.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("lblState.ImeMode")));
            this.lblState.Location = ((System.Drawing.Point)(resources.GetObject("lblState.Location")));
            this.lblState.Name = "lblState";
            this.lblState.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("lblState.RightToLeft")));
            this.lblState.Size = ((System.Drawing.Size)(resources.GetObject("lblState.Size")));
            this.lblState.TabIndex = ((int)(resources.GetObject("lblState.TabIndex")));
            this.lblState.Text = resources.GetString("lblState.Text");
            this.lblState.TextAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("lblState.TextAlign")));
            this.lblState.Visible = ((bool)(resources.GetObject("lblState.Visible")));
            // 
            // lblCity
            // 
            this.lblCity.AccessibleDescription = resources.GetString("lblCity.AccessibleDescription");
            this.lblCity.AccessibleName = resources.GetString("lblCity.AccessibleName");
            this.lblCity.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("lblCity.Anchor")));
            this.lblCity.AutoSize = ((bool)(resources.GetObject("lblCity.AutoSize")));
            this.lblCity.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("lblCity.Dock")));
            this.lblCity.Enabled = ((bool)(resources.GetObject("lblCity.Enabled")));
            this.lblCity.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.lblCity.Font = ((System.Drawing.Font)(resources.GetObject("lblCity.Font")));
            this.lblCity.ForeColor = System.Drawing.SystemColors.ControlText;
            this.lblCity.Image = ((System.Drawing.Image)(resources.GetObject("lblCity.Image")));
            this.lblCity.ImageAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("lblCity.ImageAlign")));
            this.lblCity.ImageIndex = ((int)(resources.GetObject("lblCity.ImageIndex")));
            this.lblCity.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("lblCity.ImeMode")));
            this.lblCity.Location = ((System.Drawing.Point)(resources.GetObject("lblCity.Location")));
            this.lblCity.Name = "lblCity";
            this.lblCity.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("lblCity.RightToLeft")));
            this.lblCity.Size = ((System.Drawing.Size)(resources.GetObject("lblCity.Size")));
            this.lblCity.TabIndex = ((int)(resources.GetObject("lblCity.TabIndex")));
            this.lblCity.Text = resources.GetString("lblCity.Text");
            this.lblCity.TextAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("lblCity.TextAlign")));
            this.lblCity.Visible = ((bool)(resources.GetObject("lblCity.Visible")));
            // 
            // txtAddress
            // 
            this.txtAddress.AccessibleDescription = resources.GetString("txtAddress.AccessibleDescription");
            this.txtAddress.AccessibleName = resources.GetString("txtAddress.AccessibleName");
            this.txtAddress.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("txtAddress.Anchor")));
            this.txtAddress.AutoSize = ((bool)(resources.GetObject("txtAddress.AutoSize")));
            this.txtAddress.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("txtAddress.BackgroundImage")));
            this.txtAddress.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("txtAddress.Dock")));
            this.txtAddress.Enabled = ((bool)(resources.GetObject("txtAddress.Enabled")));
            this.txtAddress.Font = ((System.Drawing.Font)(resources.GetObject("txtAddress.Font")));
            this.txtAddress.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("txtAddress.ImeMode")));
            this.txtAddress.Location = ((System.Drawing.Point)(resources.GetObject("txtAddress.Location")));
            this.txtAddress.MaxLength = ((int)(resources.GetObject("txtAddress.MaxLength")));
            this.txtAddress.Multiline = ((bool)(resources.GetObject("txtAddress.Multiline")));
            this.txtAddress.Name = "txtAddress";
            this.txtAddress.PasswordChar = ((char)(resources.GetObject("txtAddress.PasswordChar")));
            this.txtAddress.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("txtAddress.RightToLeft")));
            this.txtAddress.ScrollBars = ((System.Windows.Forms.ScrollBars)(resources.GetObject("txtAddress.ScrollBars")));
            this.txtAddress.Size = ((System.Drawing.Size)(resources.GetObject("txtAddress.Size")));
            this.txtAddress.TabIndex = ((int)(resources.GetObject("txtAddress.TabIndex")));
            this.txtAddress.Text = resources.GetString("txtAddress.Text");
            this.txtAddress.TextAlign = ((System.Windows.Forms.HorizontalAlignment)(resources.GetObject("txtAddress.TextAlign")));
            this.txtAddress.Visible = ((bool)(resources.GetObject("txtAddress.Visible")));
            this.txtAddress.WordWrap = ((bool)(resources.GetObject("txtAddress.WordWrap")));
            this.txtAddress.Leave += new System.EventHandler(this.OnLeaveControl);
            this.txtAddress.Enter += new System.EventHandler(this.OnEnterControl);
            // 
            // lblAddress
            // 
            this.lblAddress.AccessibleDescription = resources.GetString("lblAddress.AccessibleDescription");
            this.lblAddress.AccessibleName = resources.GetString("lblAddress.AccessibleName");
            this.lblAddress.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("lblAddress.Anchor")));
            this.lblAddress.AutoSize = ((bool)(resources.GetObject("lblAddress.AutoSize")));
            this.lblAddress.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("lblAddress.Dock")));
            this.lblAddress.Enabled = ((bool)(resources.GetObject("lblAddress.Enabled")));
            this.lblAddress.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.lblAddress.Font = ((System.Drawing.Font)(resources.GetObject("lblAddress.Font")));
            this.lblAddress.ForeColor = System.Drawing.Color.Maroon;
            this.lblAddress.Image = ((System.Drawing.Image)(resources.GetObject("lblAddress.Image")));
            this.lblAddress.ImageAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("lblAddress.ImageAlign")));
            this.lblAddress.ImageIndex = ((int)(resources.GetObject("lblAddress.ImageIndex")));
            this.lblAddress.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("lblAddress.ImeMode")));
            this.lblAddress.Location = ((System.Drawing.Point)(resources.GetObject("lblAddress.Location")));
            this.lblAddress.Name = "lblAddress";
            this.lblAddress.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("lblAddress.RightToLeft")));
            this.lblAddress.Size = ((System.Drawing.Size)(resources.GetObject("lblAddress.Size")));
            this.lblAddress.TabIndex = ((int)(resources.GetObject("lblAddress.TabIndex")));
            this.lblAddress.Text = resources.GetString("lblAddress.Text");
            this.lblAddress.TextAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("lblAddress.TextAlign")));
            this.lblAddress.Visible = ((bool)(resources.GetObject("lblAddress.Visible")));
            // 
            // lblVendor
            // 
            this.lblVendor.AccessibleDescription = resources.GetString("lblVendor.AccessibleDescription");
            this.lblVendor.AccessibleName = resources.GetString("lblVendor.AccessibleName");
            this.lblVendor.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("lblVendor.Anchor")));
            this.lblVendor.AutoSize = ((bool)(resources.GetObject("lblVendor.AutoSize")));
            this.lblVendor.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("lblVendor.Dock")));
            this.lblVendor.Enabled = ((bool)(resources.GetObject("lblVendor.Enabled")));
            this.lblVendor.Font = ((System.Drawing.Font)(resources.GetObject("lblVendor.Font")));
            this.lblVendor.Image = ((System.Drawing.Image)(resources.GetObject("lblVendor.Image")));
            this.lblVendor.ImageAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("lblVendor.ImageAlign")));
            this.lblVendor.ImageIndex = ((int)(resources.GetObject("lblVendor.ImageIndex")));
            this.lblVendor.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("lblVendor.ImeMode")));
            this.lblVendor.Location = ((System.Drawing.Point)(resources.GetObject("lblVendor.Location")));
            this.lblVendor.Name = "lblVendor";
            this.lblVendor.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("lblVendor.RightToLeft")));
            this.lblVendor.Size = ((System.Drawing.Size)(resources.GetObject("lblVendor.Size")));
            this.lblVendor.TabIndex = ((int)(resources.GetObject("lblVendor.TabIndex")));
            this.lblVendor.Text = resources.GetString("lblVendor.Text");
            this.lblVendor.TextAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("lblVendor.TextAlign")));
            this.lblVendor.Visible = ((bool)(resources.GetObject("lblVendor.Visible")));
            // 
            // lblCustomer
            // 
            this.lblCustomer.AccessibleDescription = resources.GetString("lblCustomer.AccessibleDescription");
            this.lblCustomer.AccessibleName = resources.GetString("lblCustomer.AccessibleName");
            this.lblCustomer.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("lblCustomer.Anchor")));
            this.lblCustomer.AutoSize = ((bool)(resources.GetObject("lblCustomer.AutoSize")));
            this.lblCustomer.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("lblCustomer.Dock")));
            this.lblCustomer.Enabled = ((bool)(resources.GetObject("lblCustomer.Enabled")));
            this.lblCustomer.Font = ((System.Drawing.Font)(resources.GetObject("lblCustomer.Font")));
            this.lblCustomer.Image = ((System.Drawing.Image)(resources.GetObject("lblCustomer.Image")));
            this.lblCustomer.ImageAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("lblCustomer.ImageAlign")));
            this.lblCustomer.ImageIndex = ((int)(resources.GetObject("lblCustomer.ImageIndex")));
            this.lblCustomer.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("lblCustomer.ImeMode")));
            this.lblCustomer.Location = ((System.Drawing.Point)(resources.GetObject("lblCustomer.Location")));
            this.lblCustomer.Name = "lblCustomer";
            this.lblCustomer.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("lblCustomer.RightToLeft")));
            this.lblCustomer.Size = ((System.Drawing.Size)(resources.GetObject("lblCustomer.Size")));
            this.lblCustomer.TabIndex = ((int)(resources.GetObject("lblCustomer.TabIndex")));
            this.lblCustomer.Text = resources.GetString("lblCustomer.Text");
            this.lblCustomer.TextAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("lblCustomer.TextAlign")));
            this.lblCustomer.Visible = ((bool)(resources.GetObject("lblCustomer.Visible")));
            // 
            // lblBoth
            // 
            this.lblBoth.AccessibleDescription = resources.GetString("lblBoth.AccessibleDescription");
            this.lblBoth.AccessibleName = resources.GetString("lblBoth.AccessibleName");
            this.lblBoth.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("lblBoth.Anchor")));
            this.lblBoth.AutoSize = ((bool)(resources.GetObject("lblBoth.AutoSize")));
            this.lblBoth.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("lblBoth.Dock")));
            this.lblBoth.Enabled = ((bool)(resources.GetObject("lblBoth.Enabled")));
            this.lblBoth.Font = ((System.Drawing.Font)(resources.GetObject("lblBoth.Font")));
            this.lblBoth.Image = ((System.Drawing.Image)(resources.GetObject("lblBoth.Image")));
            this.lblBoth.ImageAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("lblBoth.ImageAlign")));
            this.lblBoth.ImageIndex = ((int)(resources.GetObject("lblBoth.ImageIndex")));
            this.lblBoth.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("lblBoth.ImeMode")));
            this.lblBoth.Location = ((System.Drawing.Point)(resources.GetObject("lblBoth.Location")));
            this.lblBoth.Name = "lblBoth";
            this.lblBoth.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("lblBoth.RightToLeft")));
            this.lblBoth.Size = ((System.Drawing.Size)(resources.GetObject("lblBoth.Size")));
            this.lblBoth.TabIndex = ((int)(resources.GetObject("lblBoth.TabIndex")));
            this.lblBoth.Text = resources.GetString("lblBoth.Text");
            this.lblBoth.TextAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("lblBoth.TextAlign")));
            this.lblBoth.Visible = ((bool)(resources.GetObject("lblBoth.Visible")));
            // 
            // txtPhone
            // 
            this.txtPhone.AccessibleDescription = resources.GetString("txtPhone.AccessibleDescription");
            this.txtPhone.AccessibleName = resources.GetString("txtPhone.AccessibleName");
            this.txtPhone.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("txtPhone.Anchor")));
            this.txtPhone.AutoSize = ((bool)(resources.GetObject("txtPhone.AutoSize")));
            this.txtPhone.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("txtPhone.BackgroundImage")));
            this.txtPhone.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("txtPhone.Dock")));
            this.txtPhone.Enabled = ((bool)(resources.GetObject("txtPhone.Enabled")));
            this.txtPhone.Font = ((System.Drawing.Font)(resources.GetObject("txtPhone.Font")));
            this.txtPhone.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("txtPhone.ImeMode")));
            this.txtPhone.Location = ((System.Drawing.Point)(resources.GetObject("txtPhone.Location")));
            this.txtPhone.MaxLength = ((int)(resources.GetObject("txtPhone.MaxLength")));
            this.txtPhone.Multiline = ((bool)(resources.GetObject("txtPhone.Multiline")));
            this.txtPhone.Name = "txtPhone";
            this.txtPhone.PasswordChar = ((char)(resources.GetObject("txtPhone.PasswordChar")));
            this.txtPhone.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("txtPhone.RightToLeft")));
            this.txtPhone.ScrollBars = ((System.Windows.Forms.ScrollBars)(resources.GetObject("txtPhone.ScrollBars")));
            this.txtPhone.Size = ((System.Drawing.Size)(resources.GetObject("txtPhone.Size")));
            this.txtPhone.TabIndex = ((int)(resources.GetObject("txtPhone.TabIndex")));
            this.txtPhone.Text = resources.GetString("txtPhone.Text");
            this.txtPhone.TextAlign = ((System.Windows.Forms.HorizontalAlignment)(resources.GetObject("txtPhone.TextAlign")));
            this.txtPhone.Visible = ((bool)(resources.GetObject("txtPhone.Visible")));
            this.txtPhone.WordWrap = ((bool)(resources.GetObject("txtPhone.WordWrap")));
            this.txtPhone.Leave += new System.EventHandler(this.OnLeaveControl);
            this.txtPhone.Enter += new System.EventHandler(this.OnEnterControl);
            // 
            // lblPhone
            // 
            this.lblPhone.AccessibleDescription = resources.GetString("lblPhone.AccessibleDescription");
            this.lblPhone.AccessibleName = resources.GetString("lblPhone.AccessibleName");
            this.lblPhone.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("lblPhone.Anchor")));
            this.lblPhone.AutoSize = ((bool)(resources.GetObject("lblPhone.AutoSize")));
            this.lblPhone.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("lblPhone.Dock")));
            this.lblPhone.Enabled = ((bool)(resources.GetObject("lblPhone.Enabled")));
            this.lblPhone.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.lblPhone.Font = ((System.Drawing.Font)(resources.GetObject("lblPhone.Font")));
            this.lblPhone.ForeColor = System.Drawing.SystemColors.ControlText;
            this.lblPhone.Image = ((System.Drawing.Image)(resources.GetObject("lblPhone.Image")));
            this.lblPhone.ImageAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("lblPhone.ImageAlign")));
            this.lblPhone.ImageIndex = ((int)(resources.GetObject("lblPhone.ImageIndex")));
            this.lblPhone.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("lblPhone.ImeMode")));
            this.lblPhone.Location = ((System.Drawing.Point)(resources.GetObject("lblPhone.Location")));
            this.lblPhone.Name = "lblPhone";
            this.lblPhone.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("lblPhone.RightToLeft")));
            this.lblPhone.Size = ((System.Drawing.Size)(resources.GetObject("lblPhone.Size")));
            this.lblPhone.TabIndex = ((int)(resources.GetObject("lblPhone.TabIndex")));
            this.lblPhone.Text = resources.GetString("lblPhone.Text");
            this.lblPhone.TextAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("lblPhone.TextAlign")));
            this.lblPhone.Visible = ((bool)(resources.GetObject("lblPhone.Visible")));
            // 
            // txtFax
            // 
            this.txtFax.AccessibleDescription = resources.GetString("txtFax.AccessibleDescription");
            this.txtFax.AccessibleName = resources.GetString("txtFax.AccessibleName");
            this.txtFax.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("txtFax.Anchor")));
            this.txtFax.AutoSize = ((bool)(resources.GetObject("txtFax.AutoSize")));
            this.txtFax.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("txtFax.BackgroundImage")));
            this.txtFax.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("txtFax.Dock")));
            this.txtFax.Enabled = ((bool)(resources.GetObject("txtFax.Enabled")));
            this.txtFax.Font = ((System.Drawing.Font)(resources.GetObject("txtFax.Font")));
            this.txtFax.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("txtFax.ImeMode")));
            this.txtFax.Location = ((System.Drawing.Point)(resources.GetObject("txtFax.Location")));
            this.txtFax.MaxLength = ((int)(resources.GetObject("txtFax.MaxLength")));
            this.txtFax.Multiline = ((bool)(resources.GetObject("txtFax.Multiline")));
            this.txtFax.Name = "txtFax";
            this.txtFax.PasswordChar = ((char)(resources.GetObject("txtFax.PasswordChar")));
            this.txtFax.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("txtFax.RightToLeft")));
            this.txtFax.ScrollBars = ((System.Windows.Forms.ScrollBars)(resources.GetObject("txtFax.ScrollBars")));
            this.txtFax.Size = ((System.Drawing.Size)(resources.GetObject("txtFax.Size")));
            this.txtFax.TabIndex = ((int)(resources.GetObject("txtFax.TabIndex")));
            this.txtFax.Text = resources.GetString("txtFax.Text");
            this.txtFax.TextAlign = ((System.Windows.Forms.HorizontalAlignment)(resources.GetObject("txtFax.TextAlign")));
            this.txtFax.Visible = ((bool)(resources.GetObject("txtFax.Visible")));
            this.txtFax.WordWrap = ((bool)(resources.GetObject("txtFax.WordWrap")));
            this.txtFax.Leave += new System.EventHandler(this.OnLeaveControl);
            this.txtFax.Enter += new System.EventHandler(this.OnEnterControl);
            // 
            // lblFax
            // 
            this.lblFax.AccessibleDescription = resources.GetString("lblFax.AccessibleDescription");
            this.lblFax.AccessibleName = resources.GetString("lblFax.AccessibleName");
            this.lblFax.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("lblFax.Anchor")));
            this.lblFax.AutoSize = ((bool)(resources.GetObject("lblFax.AutoSize")));
            this.lblFax.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("lblFax.Dock")));
            this.lblFax.Enabled = ((bool)(resources.GetObject("lblFax.Enabled")));
            this.lblFax.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.lblFax.Font = ((System.Drawing.Font)(resources.GetObject("lblFax.Font")));
            this.lblFax.ForeColor = System.Drawing.SystemColors.ControlText;
            this.lblFax.Image = ((System.Drawing.Image)(resources.GetObject("lblFax.Image")));
            this.lblFax.ImageAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("lblFax.ImageAlign")));
            this.lblFax.ImageIndex = ((int)(resources.GetObject("lblFax.ImageIndex")));
            this.lblFax.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("lblFax.ImeMode")));
            this.lblFax.Location = ((System.Drawing.Point)(resources.GetObject("lblFax.Location")));
            this.lblFax.Name = "lblFax";
            this.lblFax.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("lblFax.RightToLeft")));
            this.lblFax.Size = ((System.Drawing.Size)(resources.GetObject("lblFax.Size")));
            this.lblFax.TabIndex = ((int)(resources.GetObject("lblFax.TabIndex")));
            this.lblFax.Text = resources.GetString("lblFax.Text");
            this.lblFax.TextAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("lblFax.TextAlign")));
            this.lblFax.Visible = ((bool)(resources.GetObject("lblFax.Visible")));
            // 
            // txtVATCode
            // 
            this.txtVATCode.AccessibleDescription = resources.GetString("txtVATCode.AccessibleDescription");
            this.txtVATCode.AccessibleName = resources.GetString("txtVATCode.AccessibleName");
            this.txtVATCode.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("txtVATCode.Anchor")));
            this.txtVATCode.AutoSize = ((bool)(resources.GetObject("txtVATCode.AutoSize")));
            this.txtVATCode.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("txtVATCode.BackgroundImage")));
            this.txtVATCode.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("txtVATCode.Dock")));
            this.txtVATCode.Enabled = ((bool)(resources.GetObject("txtVATCode.Enabled")));
            this.txtVATCode.Font = ((System.Drawing.Font)(resources.GetObject("txtVATCode.Font")));
            this.txtVATCode.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("txtVATCode.ImeMode")));
            this.txtVATCode.Location = ((System.Drawing.Point)(resources.GetObject("txtVATCode.Location")));
            this.txtVATCode.MaxLength = ((int)(resources.GetObject("txtVATCode.MaxLength")));
            this.txtVATCode.Multiline = ((bool)(resources.GetObject("txtVATCode.Multiline")));
            this.txtVATCode.Name = "txtVATCode";
            this.txtVATCode.PasswordChar = ((char)(resources.GetObject("txtVATCode.PasswordChar")));
            this.txtVATCode.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("txtVATCode.RightToLeft")));
            this.txtVATCode.ScrollBars = ((System.Windows.Forms.ScrollBars)(resources.GetObject("txtVATCode.ScrollBars")));
            this.txtVATCode.Size = ((System.Drawing.Size)(resources.GetObject("txtVATCode.Size")));
            this.txtVATCode.TabIndex = ((int)(resources.GetObject("txtVATCode.TabIndex")));
            this.txtVATCode.Text = resources.GetString("txtVATCode.Text");
            this.txtVATCode.TextAlign = ((System.Windows.Forms.HorizontalAlignment)(resources.GetObject("txtVATCode.TextAlign")));
            this.txtVATCode.Visible = ((bool)(resources.GetObject("txtVATCode.Visible")));
            this.txtVATCode.WordWrap = ((bool)(resources.GetObject("txtVATCode.WordWrap")));
            this.txtVATCode.Leave += new System.EventHandler(this.OnLeaveControl);
            this.txtVATCode.Enter += new System.EventHandler(this.OnEnterControl);
            // 
            // lblVATCode
            // 
            this.lblVATCode.AccessibleDescription = resources.GetString("lblVATCode.AccessibleDescription");
            this.lblVATCode.AccessibleName = resources.GetString("lblVATCode.AccessibleName");
            this.lblVATCode.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("lblVATCode.Anchor")));
            this.lblVATCode.AutoSize = ((bool)(resources.GetObject("lblVATCode.AutoSize")));
            this.lblVATCode.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("lblVATCode.Dock")));
            this.lblVATCode.Enabled = ((bool)(resources.GetObject("lblVATCode.Enabled")));
            this.lblVATCode.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.lblVATCode.Font = ((System.Drawing.Font)(resources.GetObject("lblVATCode.Font")));
            this.lblVATCode.ForeColor = System.Drawing.SystemColors.ControlText;
            this.lblVATCode.Image = ((System.Drawing.Image)(resources.GetObject("lblVATCode.Image")));
            this.lblVATCode.ImageAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("lblVATCode.ImageAlign")));
            this.lblVATCode.ImageIndex = ((int)(resources.GetObject("lblVATCode.ImageIndex")));
            this.lblVATCode.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("lblVATCode.ImeMode")));
            this.lblVATCode.Location = ((System.Drawing.Point)(resources.GetObject("lblVATCode.Location")));
            this.lblVATCode.Name = "lblVATCode";
            this.lblVATCode.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("lblVATCode.RightToLeft")));
            this.lblVATCode.Size = ((System.Drawing.Size)(resources.GetObject("lblVATCode.Size")));
            this.lblVATCode.TabIndex = ((int)(resources.GetObject("lblVATCode.TabIndex")));
            this.lblVATCode.Text = resources.GetString("lblVATCode.Text");
            this.lblVATCode.TextAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("lblVATCode.TextAlign")));
            this.lblVATCode.Visible = ((bool)(resources.GetObject("lblVATCode.Visible")));
            // 
            // txtBankAccount
            // 
            this.txtBankAccount.AccessibleDescription = resources.GetString("txtBankAccount.AccessibleDescription");
            this.txtBankAccount.AccessibleName = resources.GetString("txtBankAccount.AccessibleName");
            this.txtBankAccount.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("txtBankAccount.Anchor")));
            this.txtBankAccount.AutoSize = ((bool)(resources.GetObject("txtBankAccount.AutoSize")));
            this.txtBankAccount.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("txtBankAccount.BackgroundImage")));
            this.txtBankAccount.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("txtBankAccount.Dock")));
            this.txtBankAccount.Enabled = ((bool)(resources.GetObject("txtBankAccount.Enabled")));
            this.txtBankAccount.Font = ((System.Drawing.Font)(resources.GetObject("txtBankAccount.Font")));
            this.txtBankAccount.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("txtBankAccount.ImeMode")));
            this.txtBankAccount.Location = ((System.Drawing.Point)(resources.GetObject("txtBankAccount.Location")));
            this.txtBankAccount.MaxLength = ((int)(resources.GetObject("txtBankAccount.MaxLength")));
            this.txtBankAccount.Multiline = ((bool)(resources.GetObject("txtBankAccount.Multiline")));
            this.txtBankAccount.Name = "txtBankAccount";
            this.txtBankAccount.PasswordChar = ((char)(resources.GetObject("txtBankAccount.PasswordChar")));
            this.txtBankAccount.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("txtBankAccount.RightToLeft")));
            this.txtBankAccount.ScrollBars = ((System.Windows.Forms.ScrollBars)(resources.GetObject("txtBankAccount.ScrollBars")));
            this.txtBankAccount.Size = ((System.Drawing.Size)(resources.GetObject("txtBankAccount.Size")));
            this.txtBankAccount.TabIndex = ((int)(resources.GetObject("txtBankAccount.TabIndex")));
            this.txtBankAccount.Text = resources.GetString("txtBankAccount.Text");
            this.txtBankAccount.TextAlign = ((System.Windows.Forms.HorizontalAlignment)(resources.GetObject("txtBankAccount.TextAlign")));
            this.txtBankAccount.Visible = ((bool)(resources.GetObject("txtBankAccount.Visible")));
            this.txtBankAccount.WordWrap = ((bool)(resources.GetObject("txtBankAccount.WordWrap")));
            this.txtBankAccount.Leave += new System.EventHandler(this.OnLeaveControl);
            this.txtBankAccount.Enter += new System.EventHandler(this.OnEnterControl);
            // 
            // lblBankAccount
            // 
            this.lblBankAccount.AccessibleDescription = resources.GetString("lblBankAccount.AccessibleDescription");
            this.lblBankAccount.AccessibleName = resources.GetString("lblBankAccount.AccessibleName");
            this.lblBankAccount.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("lblBankAccount.Anchor")));
            this.lblBankAccount.AutoSize = ((bool)(resources.GetObject("lblBankAccount.AutoSize")));
            this.lblBankAccount.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("lblBankAccount.Dock")));
            this.lblBankAccount.Enabled = ((bool)(resources.GetObject("lblBankAccount.Enabled")));
            this.lblBankAccount.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.lblBankAccount.Font = ((System.Drawing.Font)(resources.GetObject("lblBankAccount.Font")));
            this.lblBankAccount.ForeColor = System.Drawing.SystemColors.ControlText;
            this.lblBankAccount.Image = ((System.Drawing.Image)(resources.GetObject("lblBankAccount.Image")));
            this.lblBankAccount.ImageAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("lblBankAccount.ImageAlign")));
            this.lblBankAccount.ImageIndex = ((int)(resources.GetObject("lblBankAccount.ImageIndex")));
            this.lblBankAccount.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("lblBankAccount.ImeMode")));
            this.lblBankAccount.Location = ((System.Drawing.Point)(resources.GetObject("lblBankAccount.Location")));
            this.lblBankAccount.Name = "lblBankAccount";
            this.lblBankAccount.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("lblBankAccount.RightToLeft")));
            this.lblBankAccount.Size = ((System.Drawing.Size)(resources.GetObject("lblBankAccount.Size")));
            this.lblBankAccount.TabIndex = ((int)(resources.GetObject("lblBankAccount.TabIndex")));
            this.lblBankAccount.Text = resources.GetString("lblBankAccount.Text");
            this.lblBankAccount.TextAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("lblBankAccount.TextAlign")));
            this.lblBankAccount.Visible = ((bool)(resources.GetObject("lblBankAccount.Visible")));
            // 
            // cboType
            // 
            this.cboType.AccessibleDescription = resources.GetString("cboType.AccessibleDescription");
            this.cboType.AccessibleName = resources.GetString("cboType.AccessibleName");
            this.cboType.AddItemSeparator = ';';
            this.cboType.AllowRowSizing = C1.Win.C1List.RowSizingEnum.AllRows;
            this.cboType.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("cboType.Anchor")));
            this.cboType.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("cboType.BackgroundImage")));
            this.cboType.Caption = "";
            this.cboType.CaptionHeight = 17;
            this.cboType.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
            this.cboType.ColumnCaptionHeight = 17;
            this.cboType.ColumnFooterHeight = 17;
            this.cboType.ComboStyle = C1.Win.C1List.ComboStyleEnum.DropdownList;
            this.cboType.ContentHeight = 15;
            this.cboType.DeadAreaBackColor = System.Drawing.Color.Empty;
            this.cboType.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("cboType.Dock")));
            this.cboType.EditorBackColor = System.Drawing.SystemColors.Window;
            this.cboType.EditorFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
            this.cboType.EditorForeColor = System.Drawing.SystemColors.WindowText;
            this.cboType.EditorHeight = 15;
            this.cboType.Enabled = ((bool)(resources.GetObject("cboType.Enabled")));
            this.cboType.FlatStyle = C1.Win.C1List.FlatModeEnum.System;
            this.cboType.Font = ((System.Drawing.Font)(resources.GetObject("cboType.Font")));
            this.cboType.GapHeight = 2;
            this.cboType.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("cboType.ImeMode")));
            this.cboType.ItemHeight = 15;
            this.cboType.Location = ((System.Drawing.Point)(resources.GetObject("cboType.Location")));
            this.cboType.MatchEntryTimeout = ((long)(2000));
            this.cboType.MaxDropDownItems = ((short)(5));
            this.cboType.MaxLength = 32767;
            this.cboType.MouseCursor = System.Windows.Forms.Cursors.Default;
            this.cboType.Name = "cboType";
            this.cboType.PartialRightColumn = false;
            this.cboType.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("cboType.RightToLeft")));
            this.cboType.RowDivider.Color = System.Drawing.Color.DarkGray;
            this.cboType.RowDivider.Style = C1.Win.C1List.LineStyleEnum.None;
            this.cboType.RowSubDividerColor = System.Drawing.Color.DarkGray;
            this.cboType.Size = ((System.Drawing.Size)(resources.GetObject("cboType.Size")));
            this.cboType.TabIndex = ((int)(resources.GetObject("cboType.TabIndex")));
            this.cboType.Text = resources.GetString("cboType.Text");
            this.cboType.Visible = ((bool)(resources.GetObject("cboType.Visible")));
            this.cboType.Enter += new System.EventHandler(this.OnEnterControl);
            this.cboType.Leave += new System.EventHandler(this.OnLeaveControl);
            this.cboType.PropBag = "<?xml version=\"1.0\"?><Blob><Styles type=\"C1.Win.C1List.Design.ContextWrapper\"><Da" +
                "ta>Group{BackColor:ControlDark;Border:None,,0, 0, 0, 0;AlignVert:Center;}Style2{" +
                "}Style5{}Style4{}Style7{}Style6{}EvenRow{BackColor:Aqua;}Selected{ForeColor:High" +
                "lightText;BackColor:Highlight;}Style3{}Inactive{ForeColor:InactiveCaptionText;Ba" +
                "ckColor:InactiveCaption;}Footer{}Caption{AlignHorz:Center;}Normal{BackColor:Wind" +
                "ow;}HighlightRow{ForeColor:HighlightText;BackColor:Highlight;}Style9{AlignHorz:N" +
                "ear;}OddRow{}RecordSelector{AlignImage:Center;}Heading{Wrap:True;AlignVert:Cente" +
                "r;Border:Raised,,1, 1, 1, 1;ForeColor:ControlText;BackColor:Control;}Style8{}Sty" +
                "le10{}Style11{}Style1{}</Data></Styles><Splits><C1.Win.C1List.ListBoxView AllowC" +
                "olSelect=\"False\" Name=\"\" CaptionHeight=\"17\" ColumnCaptionHeight=\"17\" ColumnFoote" +
                "rHeight=\"17\" VerticalScrollGroup=\"1\" HorizontalScrollGroup=\"1\"><ClientRect>0, 0," +
                " 118, 158</ClientRect><VScrollBar><Width>17</Width></VScrollBar><HScrollBar><Hei" +
                "ght>17</Height></HScrollBar><CaptionStyle parent=\"Style2\" me=\"Style9\" /><EvenRow" +
                "Style parent=\"EvenRow\" me=\"Style7\" /><FooterStyle parent=\"Footer\" me=\"Style3\" />" +
                "<GroupStyle parent=\"Group\" me=\"Style11\" /><HeadingStyle parent=\"Heading\" me=\"Sty" +
                "le2\" /><HighLightRowStyle parent=\"HighlightRow\" me=\"Style6\" /><InactiveStyle par" +
                "ent=\"Inactive\" me=\"Style4\" /><OddRowStyle parent=\"OddRow\" me=\"Style8\" /><RecordS" +
                "electorStyle parent=\"RecordSelector\" me=\"Style10\" /><SelectedStyle parent=\"Selec" +
                "ted\" me=\"Style5\" /><Style parent=\"Normal\" me=\"Style1\" /></C1.Win.C1List.ListBoxV" +
                "iew></Splits><NamedStyles><Style parent=\"\" me=\"Normal\" /><Style parent=\"Normal\" " +
                "me=\"Heading\" /><Style parent=\"Heading\" me=\"Footer\" /><Style parent=\"Heading\" me=" +
                "\"Caption\" /><Style parent=\"Heading\" me=\"Inactive\" /><Style parent=\"Normal\" me=\"S" +
                "elected\" /><Style parent=\"Normal\" me=\"HighlightRow\" /><Style parent=\"Normal\" me=" +
                "\"EvenRow\" /><Style parent=\"Normal\" me=\"OddRow\" /><Style parent=\"Heading\" me=\"Rec" +
                "ordSelector\" /><Style parent=\"Caption\" me=\"Group\" /></NamedStyles><vertSplits>1<" +
                "/vertSplits><horzSplits>1</horzSplits><Layout>Modified</Layout><DefaultRecSelWid" +
                "th>17</DefaultRecSelWidth></Blob>";
            // 
            // cboCountry
            // 
            this.cboCountry.AccessibleDescription = resources.GetString("cboCountry.AccessibleDescription");
            this.cboCountry.AccessibleName = resources.GetString("cboCountry.AccessibleName");
            this.cboCountry.AddItemSeparator = ';';
            this.cboCountry.AllowRowSizing = C1.Win.C1List.RowSizingEnum.AllRows;
            this.cboCountry.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("cboCountry.Anchor")));
            this.cboCountry.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("cboCountry.BackgroundImage")));
            this.cboCountry.Caption = "";
            this.cboCountry.CaptionHeight = 17;
            this.cboCountry.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
            this.cboCountry.ColumnCaptionHeight = 17;
            this.cboCountry.ColumnFooterHeight = 17;
            this.cboCountry.ComboStyle = C1.Win.C1List.ComboStyleEnum.DropdownList;
            this.cboCountry.ContentHeight = 15;
            this.cboCountry.DeadAreaBackColor = System.Drawing.Color.Empty;
            this.cboCountry.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("cboCountry.Dock")));
            this.cboCountry.EditorBackColor = System.Drawing.SystemColors.Window;
            this.cboCountry.EditorFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
            this.cboCountry.EditorForeColor = System.Drawing.SystemColors.WindowText;
            this.cboCountry.EditorHeight = 15;
            this.cboCountry.Enabled = ((bool)(resources.GetObject("cboCountry.Enabled")));
            this.cboCountry.FlatStyle = C1.Win.C1List.FlatModeEnum.System;
            this.cboCountry.Font = ((System.Drawing.Font)(resources.GetObject("cboCountry.Font")));
            this.cboCountry.GapHeight = 2;
            this.cboCountry.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("cboCountry.ImeMode")));
            this.cboCountry.ItemHeight = 15;
            this.cboCountry.Location = ((System.Drawing.Point)(resources.GetObject("cboCountry.Location")));
            this.cboCountry.MatchEntryTimeout = ((long)(2000));
            this.cboCountry.MaxDropDownItems = ((short)(5));
            this.cboCountry.MaxLength = 32767;
            this.cboCountry.MouseCursor = System.Windows.Forms.Cursors.Default;
            this.cboCountry.Name = "cboCountry";
            this.cboCountry.PartialRightColumn = false;
            this.cboCountry.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("cboCountry.RightToLeft")));
            this.cboCountry.RowDivider.Color = System.Drawing.Color.DarkGray;
            this.cboCountry.RowDivider.Style = C1.Win.C1List.LineStyleEnum.None;
            this.cboCountry.RowSubDividerColor = System.Drawing.Color.DarkGray;
            this.cboCountry.Size = ((System.Drawing.Size)(resources.GetObject("cboCountry.Size")));
            this.cboCountry.TabIndex = ((int)(resources.GetObject("cboCountry.TabIndex")));
            this.cboCountry.Text = resources.GetString("cboCountry.Text");
            this.cboCountry.Visible = ((bool)(resources.GetObject("cboCountry.Visible")));
            this.cboCountry.SelectedValueChanged += new System.EventHandler(this.cboCountry_SelectedValueChanged);
            this.cboCountry.Enter += new System.EventHandler(this.OnEnterControl);
            this.cboCountry.Leave += new System.EventHandler(this.OnLeaveControl);
            this.cboCountry.PropBag = "<?xml version=\"1.0\"?><Blob><Styles type=\"C1.Win.C1List.Design.ContextWrapper\"><Da" +
                "ta>Group{AlignVert:Center;Border:None,,0, 0, 0, 0;BackColor:ControlDark;}Style2{" +
                "}Style5{}Style4{}Style7{}Style6{}EvenRow{BackColor:Aqua;}Selected{ForeColor:High" +
                "lightText;BackColor:Highlight;}Style3{}Inactive{ForeColor:InactiveCaptionText;Ba" +
                "ckColor:InactiveCaption;}Footer{}Caption{AlignHorz:Center;}Normal{BackColor:Wind" +
                "ow;}HighlightRow{ForeColor:HighlightText;BackColor:Highlight;}Style1{}OddRow{}Re" +
                "cordSelector{AlignImage:Center;}Heading{Wrap:True;BackColor:Control;Border:Raise" +
                "d,,1, 1, 1, 1;ForeColor:ControlText;AlignVert:Center;}Style8{}Style10{}Style11{}" +
                "Style9{AlignHorz:Near;}</Data></Styles><Splits><C1.Win.C1List.ListBoxView AllowC" +
                "olSelect=\"False\" Name=\"\" CaptionHeight=\"17\" ColumnCaptionHeight=\"17\" ColumnFoote" +
                "rHeight=\"17\" VerticalScrollGroup=\"1\" HorizontalScrollGroup=\"1\"><ClientRect>0, 0," +
                " 118, 158</ClientRect><VScrollBar><Width>17</Width></VScrollBar><HScrollBar><Hei" +
                "ght>17</Height></HScrollBar><CaptionStyle parent=\"Style2\" me=\"Style9\" /><EvenRow" +
                "Style parent=\"EvenRow\" me=\"Style7\" /><FooterStyle parent=\"Footer\" me=\"Style3\" />" +
                "<GroupStyle parent=\"Group\" me=\"Style11\" /><HeadingStyle parent=\"Heading\" me=\"Sty" +
                "le2\" /><HighLightRowStyle parent=\"HighlightRow\" me=\"Style6\" /><InactiveStyle par" +
                "ent=\"Inactive\" me=\"Style4\" /><OddRowStyle parent=\"OddRow\" me=\"Style8\" /><RecordS" +
                "electorStyle parent=\"RecordSelector\" me=\"Style10\" /><SelectedStyle parent=\"Selec" +
                "ted\" me=\"Style5\" /><Style parent=\"Normal\" me=\"Style1\" /></C1.Win.C1List.ListBoxV" +
                "iew></Splits><NamedStyles><Style parent=\"\" me=\"Normal\" /><Style parent=\"Normal\" " +
                "me=\"Heading\" /><Style parent=\"Heading\" me=\"Footer\" /><Style parent=\"Heading\" me=" +
                "\"Caption\" /><Style parent=\"Heading\" me=\"Inactive\" /><Style parent=\"Normal\" me=\"S" +
                "elected\" /><Style parent=\"Normal\" me=\"HighlightRow\" /><Style parent=\"Normal\" me=" +
                "\"EvenRow\" /><Style parent=\"Normal\" me=\"OddRow\" /><Style parent=\"Heading\" me=\"Rec" +
                "ordSelector\" /><Style parent=\"Caption\" me=\"Group\" /></NamedStyles><vertSplits>1<" +
                "/vertSplits><horzSplits>1</horzSplits><Layout>Modified</Layout><DefaultRecSelWid" +
                "th>17</DefaultRecSelWidth></Blob>";
            // 
            // cboCity
            // 
            this.cboCity.AccessibleDescription = resources.GetString("cboCity.AccessibleDescription");
            this.cboCity.AccessibleName = resources.GetString("cboCity.AccessibleName");
            this.cboCity.AddItemSeparator = ';';
            this.cboCity.AllowRowSizing = C1.Win.C1List.RowSizingEnum.AllRows;
            this.cboCity.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("cboCity.Anchor")));
            this.cboCity.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("cboCity.BackgroundImage")));
            this.cboCity.Caption = "";
            this.cboCity.CaptionHeight = 17;
            this.cboCity.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
            this.cboCity.ColumnCaptionHeight = 17;
            this.cboCity.ColumnFooterHeight = 17;
            this.cboCity.ComboStyle = C1.Win.C1List.ComboStyleEnum.DropdownList;
            this.cboCity.ContentHeight = 15;
            this.cboCity.DeadAreaBackColor = System.Drawing.Color.Empty;
            this.cboCity.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("cboCity.Dock")));
            this.cboCity.EditorBackColor = System.Drawing.SystemColors.Window;
            this.cboCity.EditorFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
            this.cboCity.EditorForeColor = System.Drawing.SystemColors.WindowText;
            this.cboCity.EditorHeight = 15;
            this.cboCity.Enabled = ((bool)(resources.GetObject("cboCity.Enabled")));
            this.cboCity.FlatStyle = C1.Win.C1List.FlatModeEnum.System;
            this.cboCity.Font = ((System.Drawing.Font)(resources.GetObject("cboCity.Font")));
            this.cboCity.GapHeight = 2;
            this.cboCity.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("cboCity.ImeMode")));
            this.cboCity.ItemHeight = 15;
            this.cboCity.Location = ((System.Drawing.Point)(resources.GetObject("cboCity.Location")));
            this.cboCity.MatchEntryTimeout = ((long)(2000));
            this.cboCity.MaxDropDownItems = ((short)(5));
            this.cboCity.MaxLength = 32767;
            this.cboCity.MouseCursor = System.Windows.Forms.Cursors.Default;
            this.cboCity.Name = "cboCity";
            this.cboCity.PartialRightColumn = false;
            this.cboCity.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("cboCity.RightToLeft")));
            this.cboCity.RowDivider.Color = System.Drawing.Color.DarkGray;
            this.cboCity.RowDivider.Style = C1.Win.C1List.LineStyleEnum.None;
            this.cboCity.RowSubDividerColor = System.Drawing.Color.DarkGray;
            this.cboCity.Size = ((System.Drawing.Size)(resources.GetObject("cboCity.Size")));
            this.cboCity.TabIndex = ((int)(resources.GetObject("cboCity.TabIndex")));
            this.cboCity.Text = resources.GetString("cboCity.Text");
            this.cboCity.Visible = ((bool)(resources.GetObject("cboCity.Visible")));
            this.cboCity.Enter += new System.EventHandler(this.OnEnterControl);
            this.cboCity.Leave += new System.EventHandler(this.OnLeaveControl);
            this.cboCity.PropBag = "<?xml version=\"1.0\"?><Blob><Styles type=\"C1.Win.C1List.Design.ContextWrapper\"><Da" +
                "ta>Group{AlignVert:Center;Border:None,,0, 0, 0, 0;BackColor:ControlDark;}Style2{" +
                "}Style5{}Style4{}Style7{}Style6{}EvenRow{BackColor:Aqua;}Selected{ForeColor:High" +
                "lightText;BackColor:Highlight;}Style3{}Inactive{ForeColor:InactiveCaptionText;Ba" +
                "ckColor:InactiveCaption;}Footer{}Caption{AlignHorz:Center;}Normal{BackColor:Wind" +
                "ow;}HighlightRow{ForeColor:HighlightText;BackColor:Highlight;}Style1{}OddRow{}Re" +
                "cordSelector{AlignImage:Center;}Heading{Wrap:True;BackColor:Control;Border:Raise" +
                "d,,1, 1, 1, 1;ForeColor:ControlText;AlignVert:Center;}Style8{}Style10{}Style11{}" +
                "Style9{AlignHorz:Near;}</Data></Styles><Splits><C1.Win.C1List.ListBoxView AllowC" +
                "olSelect=\"False\" Name=\"\" CaptionHeight=\"17\" ColumnCaptionHeight=\"17\" ColumnFoote" +
                "rHeight=\"17\" VerticalScrollGroup=\"1\" HorizontalScrollGroup=\"1\"><ClientRect>0, 0," +
                " 118, 158</ClientRect><VScrollBar><Width>17</Width></VScrollBar><HScrollBar><Hei" +
                "ght>17</Height></HScrollBar><CaptionStyle parent=\"Style2\" me=\"Style9\" /><EvenRow" +
                "Style parent=\"EvenRow\" me=\"Style7\" /><FooterStyle parent=\"Footer\" me=\"Style3\" />" +
                "<GroupStyle parent=\"Group\" me=\"Style11\" /><HeadingStyle parent=\"Heading\" me=\"Sty" +
                "le2\" /><HighLightRowStyle parent=\"HighlightRow\" me=\"Style6\" /><InactiveStyle par" +
                "ent=\"Inactive\" me=\"Style4\" /><OddRowStyle parent=\"OddRow\" me=\"Style8\" /><RecordS" +
                "electorStyle parent=\"RecordSelector\" me=\"Style10\" /><SelectedStyle parent=\"Selec" +
                "ted\" me=\"Style5\" /><Style parent=\"Normal\" me=\"Style1\" /></C1.Win.C1List.ListBoxV" +
                "iew></Splits><NamedStyles><Style parent=\"\" me=\"Normal\" /><Style parent=\"Normal\" " +
                "me=\"Heading\" /><Style parent=\"Heading\" me=\"Footer\" /><Style parent=\"Heading\" me=" +
                "\"Caption\" /><Style parent=\"Heading\" me=\"Inactive\" /><Style parent=\"Normal\" me=\"S" +
                "elected\" /><Style parent=\"Normal\" me=\"HighlightRow\" /><Style parent=\"Normal\" me=" +
                "\"EvenRow\" /><Style parent=\"Normal\" me=\"OddRow\" /><Style parent=\"Heading\" me=\"Rec" +
                "ordSelector\" /><Style parent=\"Caption\" me=\"Group\" /></NamedStyles><vertSplits>1<" +
                "/vertSplits><horzSplits>1</horzSplits><Layout>Modified</Layout><DefaultRecSelWid" +
                "th>17</DefaultRecSelWidth></Blob>";
            // 
            // lblPaymentTerm
            // 
            this.lblPaymentTerm.AccessibleDescription = resources.GetString("lblPaymentTerm.AccessibleDescription");
            this.lblPaymentTerm.AccessibleName = resources.GetString("lblPaymentTerm.AccessibleName");
            this.lblPaymentTerm.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("lblPaymentTerm.Anchor")));
            this.lblPaymentTerm.AutoSize = ((bool)(resources.GetObject("lblPaymentTerm.AutoSize")));
            this.lblPaymentTerm.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("lblPaymentTerm.Dock")));
            this.lblPaymentTerm.Enabled = ((bool)(resources.GetObject("lblPaymentTerm.Enabled")));
            this.lblPaymentTerm.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.lblPaymentTerm.Font = ((System.Drawing.Font)(resources.GetObject("lblPaymentTerm.Font")));
            this.lblPaymentTerm.ForeColor = System.Drawing.SystemColors.ControlText;
            this.lblPaymentTerm.Image = ((System.Drawing.Image)(resources.GetObject("lblPaymentTerm.Image")));
            this.lblPaymentTerm.ImageAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("lblPaymentTerm.ImageAlign")));
            this.lblPaymentTerm.ImageIndex = ((int)(resources.GetObject("lblPaymentTerm.ImageIndex")));
            this.lblPaymentTerm.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("lblPaymentTerm.ImeMode")));
            this.lblPaymentTerm.Location = ((System.Drawing.Point)(resources.GetObject("lblPaymentTerm.Location")));
            this.lblPaymentTerm.Name = "lblPaymentTerm";
            this.lblPaymentTerm.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("lblPaymentTerm.RightToLeft")));
            this.lblPaymentTerm.Size = ((System.Drawing.Size)(resources.GetObject("lblPaymentTerm.Size")));
            this.lblPaymentTerm.TabIndex = ((int)(resources.GetObject("lblPaymentTerm.TabIndex")));
            this.lblPaymentTerm.Text = resources.GetString("lblPaymentTerm.Text");
            this.lblPaymentTerm.TextAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("lblPaymentTerm.TextAlign")));
            this.lblPaymentTerm.Visible = ((bool)(resources.GetObject("lblPaymentTerm.Visible")));
            // 
            // cboPaymentTerm
            // 
            this.cboPaymentTerm.AccessibleDescription = resources.GetString("cboPaymentTerm.AccessibleDescription");
            this.cboPaymentTerm.AccessibleName = resources.GetString("cboPaymentTerm.AccessibleName");
            this.cboPaymentTerm.AddItemSeparator = ';';
            this.cboPaymentTerm.AllowRowSizing = C1.Win.C1List.RowSizingEnum.AllRows;
            this.cboPaymentTerm.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("cboPaymentTerm.Anchor")));
            this.cboPaymentTerm.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("cboPaymentTerm.BackgroundImage")));
            this.cboPaymentTerm.Caption = "";
            this.cboPaymentTerm.CaptionHeight = 17;
            this.cboPaymentTerm.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
            this.cboPaymentTerm.ColumnCaptionHeight = 17;
            this.cboPaymentTerm.ColumnFooterHeight = 17;
            this.cboPaymentTerm.ComboStyle = C1.Win.C1List.ComboStyleEnum.DropdownList;
            this.cboPaymentTerm.ContentHeight = 15;
            this.cboPaymentTerm.DeadAreaBackColor = System.Drawing.Color.Empty;
            this.cboPaymentTerm.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("cboPaymentTerm.Dock")));
            this.cboPaymentTerm.EditorBackColor = System.Drawing.SystemColors.Window;
            this.cboPaymentTerm.EditorFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
            this.cboPaymentTerm.EditorForeColor = System.Drawing.SystemColors.WindowText;
            this.cboPaymentTerm.EditorHeight = 15;
            this.cboPaymentTerm.Enabled = ((bool)(resources.GetObject("cboPaymentTerm.Enabled")));
            this.cboPaymentTerm.FlatStyle = C1.Win.C1List.FlatModeEnum.System;
            this.cboPaymentTerm.Font = ((System.Drawing.Font)(resources.GetObject("cboPaymentTerm.Font")));
            this.cboPaymentTerm.GapHeight = 2;
            this.cboPaymentTerm.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("cboPaymentTerm.ImeMode")));
            this.cboPaymentTerm.ItemHeight = 15;
            this.cboPaymentTerm.Location = ((System.Drawing.Point)(resources.GetObject("cboPaymentTerm.Location")));
            this.cboPaymentTerm.MatchEntryTimeout = ((long)(2000));
            this.cboPaymentTerm.MaxDropDownItems = ((short)(5));
            this.cboPaymentTerm.MaxLength = 32767;
            this.cboPaymentTerm.MouseCursor = System.Windows.Forms.Cursors.Default;
            this.cboPaymentTerm.Name = "cboPaymentTerm";
            this.cboPaymentTerm.PartialRightColumn = false;
            this.cboPaymentTerm.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("cboPaymentTerm.RightToLeft")));
            this.cboPaymentTerm.RowDivider.Color = System.Drawing.Color.DarkGray;
            this.cboPaymentTerm.RowDivider.Style = C1.Win.C1List.LineStyleEnum.None;
            this.cboPaymentTerm.RowSubDividerColor = System.Drawing.Color.DarkGray;
            this.cboPaymentTerm.Size = ((System.Drawing.Size)(resources.GetObject("cboPaymentTerm.Size")));
            this.cboPaymentTerm.TabIndex = ((int)(resources.GetObject("cboPaymentTerm.TabIndex")));
            this.cboPaymentTerm.Text = resources.GetString("cboPaymentTerm.Text");
            this.cboPaymentTerm.Visible = ((bool)(resources.GetObject("cboPaymentTerm.Visible")));
            this.cboPaymentTerm.PropBag = "<?xml version=\"1.0\"?><Blob><Styles type=\"C1.Win.C1List.Design.ContextWrapper\"><Da" +
                "ta>Group{BackColor:ControlDark;Border:None,,0, 0, 0, 0;AlignVert:Center;}Style2{" +
                "}Style5{}Style4{}Style7{}Style6{}EvenRow{BackColor:Aqua;}Selected{ForeColor:High" +
                "lightText;BackColor:Highlight;}Style3{}Inactive{ForeColor:InactiveCaptionText;Ba" +
                "ckColor:InactiveCaption;}Footer{}Caption{AlignHorz:Center;}Normal{BackColor:Wind" +
                "ow;}HighlightRow{ForeColor:HighlightText;BackColor:Highlight;}Style9{AlignHorz:N" +
                "ear;}OddRow{}RecordSelector{AlignImage:Center;}Heading{Wrap:True;AlignVert:Cente" +
                "r;Border:Raised,,1, 1, 1, 1;ForeColor:ControlText;BackColor:Control;}Style8{}Sty" +
                "le10{}Style11{}Style1{}</Data></Styles><Splits><C1.Win.C1List.ListBoxView AllowC" +
                "olSelect=\"False\" Name=\"\" CaptionHeight=\"17\" ColumnCaptionHeight=\"17\" ColumnFoote" +
                "rHeight=\"17\" VerticalScrollGroup=\"1\" HorizontalScrollGroup=\"1\"><ClientRect>0, 0," +
                " 118, 158</ClientRect><VScrollBar><Width>17</Width></VScrollBar><HScrollBar><Hei" +
                "ght>17</Height></HScrollBar><CaptionStyle parent=\"Style2\" me=\"Style9\" /><EvenRow" +
                "Style parent=\"EvenRow\" me=\"Style7\" /><FooterStyle parent=\"Footer\" me=\"Style3\" />" +
                "<GroupStyle parent=\"Group\" me=\"Style11\" /><HeadingStyle parent=\"Heading\" me=\"Sty" +
                "le2\" /><HighLightRowStyle parent=\"HighlightRow\" me=\"Style6\" /><InactiveStyle par" +
                "ent=\"Inactive\" me=\"Style4\" /><OddRowStyle parent=\"OddRow\" me=\"Style8\" /><RecordS" +
                "electorStyle parent=\"RecordSelector\" me=\"Style10\" /><SelectedStyle parent=\"Selec" +
                "ted\" me=\"Style5\" /><Style parent=\"Normal\" me=\"Style1\" /></C1.Win.C1List.ListBoxV" +
                "iew></Splits><NamedStyles><Style parent=\"\" me=\"Normal\" /><Style parent=\"Normal\" " +
                "me=\"Heading\" /><Style parent=\"Heading\" me=\"Footer\" /><Style parent=\"Heading\" me=" +
                "\"Caption\" /><Style parent=\"Heading\" me=\"Inactive\" /><Style parent=\"Normal\" me=\"S" +
                "elected\" /><Style parent=\"Normal\" me=\"HighlightRow\" /><Style parent=\"Normal\" me=" +
                "\"EvenRow\" /><Style parent=\"Normal\" me=\"OddRow\" /><Style parent=\"Heading\" me=\"Rec" +
                "ordSelector\" /><Style parent=\"Caption\" me=\"Group\" /></NamedStyles><vertSplits>1<" +
                "/vertSplits><horzSplits>1</horzSplits><Layout>Modified</Layout><DefaultRecSelWid" +
                "th>17</DefaultRecSelWidth></Blob>";
            // 
            // lblCurrency
            // 
            this.lblCurrency.AccessibleDescription = resources.GetString("lblCurrency.AccessibleDescription");
            this.lblCurrency.AccessibleName = resources.GetString("lblCurrency.AccessibleName");
            this.lblCurrency.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("lblCurrency.Anchor")));
            this.lblCurrency.AutoSize = ((bool)(resources.GetObject("lblCurrency.AutoSize")));
            this.lblCurrency.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("lblCurrency.Dock")));
            this.lblCurrency.Enabled = ((bool)(resources.GetObject("lblCurrency.Enabled")));
            this.lblCurrency.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.lblCurrency.Font = ((System.Drawing.Font)(resources.GetObject("lblCurrency.Font")));
            this.lblCurrency.ForeColor = System.Drawing.SystemColors.ControlText;
            this.lblCurrency.Image = ((System.Drawing.Image)(resources.GetObject("lblCurrency.Image")));
            this.lblCurrency.ImageAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("lblCurrency.ImageAlign")));
            this.lblCurrency.ImageIndex = ((int)(resources.GetObject("lblCurrency.ImageIndex")));
            this.lblCurrency.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("lblCurrency.ImeMode")));
            this.lblCurrency.Location = ((System.Drawing.Point)(resources.GetObject("lblCurrency.Location")));
            this.lblCurrency.Name = "lblCurrency";
            this.lblCurrency.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("lblCurrency.RightToLeft")));
            this.lblCurrency.Size = ((System.Drawing.Size)(resources.GetObject("lblCurrency.Size")));
            this.lblCurrency.TabIndex = ((int)(resources.GetObject("lblCurrency.TabIndex")));
            this.lblCurrency.Text = resources.GetString("lblCurrency.Text");
            this.lblCurrency.TextAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("lblCurrency.TextAlign")));
            this.lblCurrency.Visible = ((bool)(resources.GetObject("lblCurrency.Visible")));
            // 
            // txtCurrency
            // 
            this.txtCurrency.AccessibleDescription = resources.GetString("txtCurrency.AccessibleDescription");
            this.txtCurrency.AccessibleName = resources.GetString("txtCurrency.AccessibleName");
            this.txtCurrency.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("txtCurrency.Anchor")));
            this.txtCurrency.AutoSize = ((bool)(resources.GetObject("txtCurrency.AutoSize")));
            this.txtCurrency.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("txtCurrency.BackgroundImage")));
            this.txtCurrency.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("txtCurrency.Dock")));
            this.txtCurrency.Enabled = ((bool)(resources.GetObject("txtCurrency.Enabled")));
            this.txtCurrency.Font = ((System.Drawing.Font)(resources.GetObject("txtCurrency.Font")));
            this.txtCurrency.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("txtCurrency.ImeMode")));
            this.txtCurrency.Location = ((System.Drawing.Point)(resources.GetObject("txtCurrency.Location")));
            this.txtCurrency.MaxLength = ((int)(resources.GetObject("txtCurrency.MaxLength")));
            this.txtCurrency.Multiline = ((bool)(resources.GetObject("txtCurrency.Multiline")));
            this.txtCurrency.Name = "txtCurrency";
            this.txtCurrency.PasswordChar = ((char)(resources.GetObject("txtCurrency.PasswordChar")));
            this.txtCurrency.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("txtCurrency.RightToLeft")));
            this.txtCurrency.ScrollBars = ((System.Windows.Forms.ScrollBars)(resources.GetObject("txtCurrency.ScrollBars")));
            this.txtCurrency.Size = ((System.Drawing.Size)(resources.GetObject("txtCurrency.Size")));
            this.txtCurrency.TabIndex = ((int)(resources.GetObject("txtCurrency.TabIndex")));
            this.txtCurrency.Text = resources.GetString("txtCurrency.Text");
            this.txtCurrency.TextAlign = ((System.Windows.Forms.HorizontalAlignment)(resources.GetObject("txtCurrency.TextAlign")));
            this.txtCurrency.Visible = ((bool)(resources.GetObject("txtCurrency.Visible")));
            this.txtCurrency.WordWrap = ((bool)(resources.GetObject("txtCurrency.WordWrap")));
            this.txtCurrency.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtCurrency_KeyDown);
            this.txtCurrency.Validating += new System.ComponentModel.CancelEventHandler(this.txtCurrency_Validating);
            // 
            // btnCurrency
            // 
            this.btnCurrency.AccessibleDescription = resources.GetString("btnCurrency.AccessibleDescription");
            this.btnCurrency.AccessibleName = resources.GetString("btnCurrency.AccessibleName");
            this.btnCurrency.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("btnCurrency.Anchor")));
            this.btnCurrency.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnCurrency.BackgroundImage")));
            this.btnCurrency.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("btnCurrency.Dock")));
            this.btnCurrency.Enabled = ((bool)(resources.GetObject("btnCurrency.Enabled")));
            this.btnCurrency.FlatStyle = ((System.Windows.Forms.FlatStyle)(resources.GetObject("btnCurrency.FlatStyle")));
            this.btnCurrency.Font = ((System.Drawing.Font)(resources.GetObject("btnCurrency.Font")));
            this.btnCurrency.Image = ((System.Drawing.Image)(resources.GetObject("btnCurrency.Image")));
            this.btnCurrency.ImageAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("btnCurrency.ImageAlign")));
            this.btnCurrency.ImageIndex = ((int)(resources.GetObject("btnCurrency.ImageIndex")));
            this.btnCurrency.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("btnCurrency.ImeMode")));
            this.btnCurrency.Location = ((System.Drawing.Point)(resources.GetObject("btnCurrency.Location")));
            this.btnCurrency.Name = "btnCurrency";
            this.btnCurrency.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("btnCurrency.RightToLeft")));
            this.btnCurrency.Size = ((System.Drawing.Size)(resources.GetObject("btnCurrency.Size")));
            this.btnCurrency.TabIndex = ((int)(resources.GetObject("btnCurrency.TabIndex")));
            this.btnCurrency.Text = resources.GetString("btnCurrency.Text");
            this.btnCurrency.TextAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("btnCurrency.TextAlign")));
            this.btnCurrency.Visible = ((bool)(resources.GetObject("btnCurrency.Visible")));
            this.btnCurrency.Click += new System.EventHandler(this.btnCurrency_Click);
            // 
            // txtMAPBankAccNo
            // 
            this.txtMAPBankAccNo.AccessibleDescription = resources.GetString("txtMAPBankAccNo.AccessibleDescription");
            this.txtMAPBankAccNo.AccessibleName = resources.GetString("txtMAPBankAccNo.AccessibleName");
            this.txtMAPBankAccNo.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("txtMAPBankAccNo.Anchor")));
            this.txtMAPBankAccNo.AutoSize = ((bool)(resources.GetObject("txtMAPBankAccNo.AutoSize")));
            this.txtMAPBankAccNo.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("txtMAPBankAccNo.BackgroundImage")));
            this.txtMAPBankAccNo.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("txtMAPBankAccNo.Dock")));
            this.txtMAPBankAccNo.Enabled = ((bool)(resources.GetObject("txtMAPBankAccNo.Enabled")));
            this.txtMAPBankAccNo.Font = ((System.Drawing.Font)(resources.GetObject("txtMAPBankAccNo.Font")));
            this.txtMAPBankAccNo.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("txtMAPBankAccNo.ImeMode")));
            this.txtMAPBankAccNo.Location = ((System.Drawing.Point)(resources.GetObject("txtMAPBankAccNo.Location")));
            this.txtMAPBankAccNo.MaxLength = ((int)(resources.GetObject("txtMAPBankAccNo.MaxLength")));
            this.txtMAPBankAccNo.Multiline = ((bool)(resources.GetObject("txtMAPBankAccNo.Multiline")));
            this.txtMAPBankAccNo.Name = "txtMAPBankAccNo";
            this.txtMAPBankAccNo.PasswordChar = ((char)(resources.GetObject("txtMAPBankAccNo.PasswordChar")));
            this.txtMAPBankAccNo.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("txtMAPBankAccNo.RightToLeft")));
            this.txtMAPBankAccNo.ScrollBars = ((System.Windows.Forms.ScrollBars)(resources.GetObject("txtMAPBankAccNo.ScrollBars")));
            this.txtMAPBankAccNo.Size = ((System.Drawing.Size)(resources.GetObject("txtMAPBankAccNo.Size")));
            this.txtMAPBankAccNo.TabIndex = ((int)(resources.GetObject("txtMAPBankAccNo.TabIndex")));
            this.txtMAPBankAccNo.Text = resources.GetString("txtMAPBankAccNo.Text");
            this.txtMAPBankAccNo.TextAlign = ((System.Windows.Forms.HorizontalAlignment)(resources.GetObject("txtMAPBankAccNo.TextAlign")));
            this.txtMAPBankAccNo.Visible = ((bool)(resources.GetObject("txtMAPBankAccNo.Visible")));
            this.txtMAPBankAccNo.WordWrap = ((bool)(resources.GetObject("txtMAPBankAccNo.WordWrap")));
            // 
            // lblMAPBankAccountNo
            // 
            this.lblMAPBankAccountNo.AccessibleDescription = resources.GetString("lblMAPBankAccountNo.AccessibleDescription");
            this.lblMAPBankAccountNo.AccessibleName = resources.GetString("lblMAPBankAccountNo.AccessibleName");
            this.lblMAPBankAccountNo.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("lblMAPBankAccountNo.Anchor")));
            this.lblMAPBankAccountNo.AutoSize = ((bool)(resources.GetObject("lblMAPBankAccountNo.AutoSize")));
            this.lblMAPBankAccountNo.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("lblMAPBankAccountNo.Dock")));
            this.lblMAPBankAccountNo.Enabled = ((bool)(resources.GetObject("lblMAPBankAccountNo.Enabled")));
            this.lblMAPBankAccountNo.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.lblMAPBankAccountNo.Font = ((System.Drawing.Font)(resources.GetObject("lblMAPBankAccountNo.Font")));
            this.lblMAPBankAccountNo.ForeColor = System.Drawing.SystemColors.ControlText;
            this.lblMAPBankAccountNo.Image = ((System.Drawing.Image)(resources.GetObject("lblMAPBankAccountNo.Image")));
            this.lblMAPBankAccountNo.ImageAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("lblMAPBankAccountNo.ImageAlign")));
            this.lblMAPBankAccountNo.ImageIndex = ((int)(resources.GetObject("lblMAPBankAccountNo.ImageIndex")));
            this.lblMAPBankAccountNo.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("lblMAPBankAccountNo.ImeMode")));
            this.lblMAPBankAccountNo.Location = ((System.Drawing.Point)(resources.GetObject("lblMAPBankAccountNo.Location")));
            this.lblMAPBankAccountNo.Name = "lblMAPBankAccountNo";
            this.lblMAPBankAccountNo.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("lblMAPBankAccountNo.RightToLeft")));
            this.lblMAPBankAccountNo.Size = ((System.Drawing.Size)(resources.GetObject("lblMAPBankAccountNo.Size")));
            this.lblMAPBankAccountNo.TabIndex = ((int)(resources.GetObject("lblMAPBankAccountNo.TabIndex")));
            this.lblMAPBankAccountNo.Text = resources.GetString("lblMAPBankAccountNo.Text");
            this.lblMAPBankAccountNo.TextAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("lblMAPBankAccountNo.TextAlign")));
            this.lblMAPBankAccountNo.Visible = ((bool)(resources.GetObject("lblMAPBankAccountNo.Visible")));
            // 
            // txtMAPBankAccName
            // 
            this.txtMAPBankAccName.AccessibleDescription = resources.GetString("txtMAPBankAccName.AccessibleDescription");
            this.txtMAPBankAccName.AccessibleName = resources.GetString("txtMAPBankAccName.AccessibleName");
            this.txtMAPBankAccName.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("txtMAPBankAccName.Anchor")));
            this.txtMAPBankAccName.AutoSize = ((bool)(resources.GetObject("txtMAPBankAccName.AutoSize")));
            this.txtMAPBankAccName.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("txtMAPBankAccName.BackgroundImage")));
            this.txtMAPBankAccName.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("txtMAPBankAccName.Dock")));
            this.txtMAPBankAccName.Enabled = ((bool)(resources.GetObject("txtMAPBankAccName.Enabled")));
            this.txtMAPBankAccName.Font = ((System.Drawing.Font)(resources.GetObject("txtMAPBankAccName.Font")));
            this.txtMAPBankAccName.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("txtMAPBankAccName.ImeMode")));
            this.txtMAPBankAccName.Location = ((System.Drawing.Point)(resources.GetObject("txtMAPBankAccName.Location")));
            this.txtMAPBankAccName.MaxLength = ((int)(resources.GetObject("txtMAPBankAccName.MaxLength")));
            this.txtMAPBankAccName.Multiline = ((bool)(resources.GetObject("txtMAPBankAccName.Multiline")));
            this.txtMAPBankAccName.Name = "txtMAPBankAccName";
            this.txtMAPBankAccName.PasswordChar = ((char)(resources.GetObject("txtMAPBankAccName.PasswordChar")));
            this.txtMAPBankAccName.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("txtMAPBankAccName.RightToLeft")));
            this.txtMAPBankAccName.ScrollBars = ((System.Windows.Forms.ScrollBars)(resources.GetObject("txtMAPBankAccName.ScrollBars")));
            this.txtMAPBankAccName.Size = ((System.Drawing.Size)(resources.GetObject("txtMAPBankAccName.Size")));
            this.txtMAPBankAccName.TabIndex = ((int)(resources.GetObject("txtMAPBankAccName.TabIndex")));
            this.txtMAPBankAccName.Text = resources.GetString("txtMAPBankAccName.Text");
            this.txtMAPBankAccName.TextAlign = ((System.Windows.Forms.HorizontalAlignment)(resources.GetObject("txtMAPBankAccName.TextAlign")));
            this.txtMAPBankAccName.Visible = ((bool)(resources.GetObject("txtMAPBankAccName.Visible")));
            this.txtMAPBankAccName.WordWrap = ((bool)(resources.GetObject("txtMAPBankAccName.WordWrap")));
            // 
            // lblMAPBankAccountName
            // 
            this.lblMAPBankAccountName.AccessibleDescription = resources.GetString("lblMAPBankAccountName.AccessibleDescription");
            this.lblMAPBankAccountName.AccessibleName = resources.GetString("lblMAPBankAccountName.AccessibleName");
            this.lblMAPBankAccountName.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("lblMAPBankAccountName.Anchor")));
            this.lblMAPBankAccountName.AutoSize = ((bool)(resources.GetObject("lblMAPBankAccountName.AutoSize")));
            this.lblMAPBankAccountName.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("lblMAPBankAccountName.Dock")));
            this.lblMAPBankAccountName.Enabled = ((bool)(resources.GetObject("lblMAPBankAccountName.Enabled")));
            this.lblMAPBankAccountName.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.lblMAPBankAccountName.Font = ((System.Drawing.Font)(resources.GetObject("lblMAPBankAccountName.Font")));
            this.lblMAPBankAccountName.ForeColor = System.Drawing.SystemColors.ControlText;
            this.lblMAPBankAccountName.Image = ((System.Drawing.Image)(resources.GetObject("lblMAPBankAccountName.Image")));
            this.lblMAPBankAccountName.ImageAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("lblMAPBankAccountName.ImageAlign")));
            this.lblMAPBankAccountName.ImageIndex = ((int)(resources.GetObject("lblMAPBankAccountName.ImageIndex")));
            this.lblMAPBankAccountName.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("lblMAPBankAccountName.ImeMode")));
            this.lblMAPBankAccountName.Location = ((System.Drawing.Point)(resources.GetObject("lblMAPBankAccountName.Location")));
            this.lblMAPBankAccountName.Name = "lblMAPBankAccountName";
            this.lblMAPBankAccountName.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("lblMAPBankAccountName.RightToLeft")));
            this.lblMAPBankAccountName.Size = ((System.Drawing.Size)(resources.GetObject("lblMAPBankAccountName.Size")));
            this.lblMAPBankAccountName.TabIndex = ((int)(resources.GetObject("lblMAPBankAccountName.TabIndex")));
            this.lblMAPBankAccountName.Text = resources.GetString("lblMAPBankAccountName.Text");
            this.lblMAPBankAccountName.TextAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("lblMAPBankAccountName.TextAlign")));
            this.lblMAPBankAccountName.Visible = ((bool)(resources.GetObject("lblMAPBankAccountName.Visible")));
            // 
            // lblVendorOutside
            // 
            this.lblVendorOutside.AccessibleDescription = resources.GetString("lblVendorOutside.AccessibleDescription");
            this.lblVendorOutside.AccessibleName = resources.GetString("lblVendorOutside.AccessibleName");
            this.lblVendorOutside.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("lblVendorOutside.Anchor")));
            this.lblVendorOutside.AutoSize = ((bool)(resources.GetObject("lblVendorOutside.AutoSize")));
            this.lblVendorOutside.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("lblVendorOutside.Dock")));
            this.lblVendorOutside.Enabled = ((bool)(resources.GetObject("lblVendorOutside.Enabled")));
            this.lblVendorOutside.Font = ((System.Drawing.Font)(resources.GetObject("lblVendorOutside.Font")));
            this.lblVendorOutside.Image = ((System.Drawing.Image)(resources.GetObject("lblVendorOutside.Image")));
            this.lblVendorOutside.ImageAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("lblVendorOutside.ImageAlign")));
            this.lblVendorOutside.ImageIndex = ((int)(resources.GetObject("lblVendorOutside.ImageIndex")));
            this.lblVendorOutside.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("lblVendorOutside.ImeMode")));
            this.lblVendorOutside.Location = ((System.Drawing.Point)(resources.GetObject("lblVendorOutside.Location")));
            this.lblVendorOutside.Name = "lblVendorOutside";
            this.lblVendorOutside.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("lblVendorOutside.RightToLeft")));
            this.lblVendorOutside.Size = ((System.Drawing.Size)(resources.GetObject("lblVendorOutside.Size")));
            this.lblVendorOutside.TabIndex = ((int)(resources.GetObject("lblVendorOutside.TabIndex")));
            this.lblVendorOutside.Text = resources.GetString("lblVendorOutside.Text");
            this.lblVendorOutside.TextAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("lblVendorOutside.TextAlign")));
            this.lblVendorOutside.Visible = ((bool)(resources.GetObject("lblVendorOutside.Visible")));
            // 
            // lblApprovalDate
            // 
            this.lblApprovalDate.AccessibleDescription = resources.GetString("lblApprovalDate.AccessibleDescription");
            this.lblApprovalDate.AccessibleName = resources.GetString("lblApprovalDate.AccessibleName");
            this.lblApprovalDate.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("lblApprovalDate.Anchor")));
            this.lblApprovalDate.AutoSize = ((bool)(resources.GetObject("lblApprovalDate.AutoSize")));
            this.lblApprovalDate.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("lblApprovalDate.Dock")));
            this.lblApprovalDate.Enabled = ((bool)(resources.GetObject("lblApprovalDate.Enabled")));
            this.lblApprovalDate.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.lblApprovalDate.Font = ((System.Drawing.Font)(resources.GetObject("lblApprovalDate.Font")));
            this.lblApprovalDate.ForeColor = System.Drawing.SystemColors.ControlText;
            this.lblApprovalDate.Image = ((System.Drawing.Image)(resources.GetObject("lblApprovalDate.Image")));
            this.lblApprovalDate.ImageAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("lblApprovalDate.ImageAlign")));
            this.lblApprovalDate.ImageIndex = ((int)(resources.GetObject("lblApprovalDate.ImageIndex")));
            this.lblApprovalDate.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("lblApprovalDate.ImeMode")));
            this.lblApprovalDate.Location = ((System.Drawing.Point)(resources.GetObject("lblApprovalDate.Location")));
            this.lblApprovalDate.Name = "lblApprovalDate";
            this.lblApprovalDate.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("lblApprovalDate.RightToLeft")));
            this.lblApprovalDate.Size = ((System.Drawing.Size)(resources.GetObject("lblApprovalDate.Size")));
            this.lblApprovalDate.TabIndex = ((int)(resources.GetObject("lblApprovalDate.TabIndex")));
            this.lblApprovalDate.Text = resources.GetString("lblApprovalDate.Text");
            this.lblApprovalDate.TextAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("lblApprovalDate.TextAlign")));
            this.lblApprovalDate.Visible = ((bool)(resources.GetObject("lblApprovalDate.Visible")));
            // 
            // dtmApprovalDate
            // 
            this.dtmApprovalDate.AcceptsEscape = ((bool)(resources.GetObject("dtmApprovalDate.AcceptsEscape")));
            this.dtmApprovalDate.AccessibleDescription = resources.GetString("dtmApprovalDate.AccessibleDescription");
            this.dtmApprovalDate.AccessibleName = resources.GetString("dtmApprovalDate.AccessibleName");
            this.dtmApprovalDate.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("dtmApprovalDate.Anchor")));
            this.dtmApprovalDate.AutoSize = ((bool)(resources.GetObject("dtmApprovalDate.AutoSize")));
            this.dtmApprovalDate.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("dtmApprovalDate.BackgroundImage")));
            this.dtmApprovalDate.BorderStyle = ((System.Windows.Forms.BorderStyle)(resources.GetObject("dtmApprovalDate.BorderStyle")));
            // 
            // dtmTransDate.Calendar
            // 
            this.dtmApprovalDate.Calendar.AccessibleDescription = resources.GetString("dtmTransDate.Calendar.AccessibleDescription");
            this.dtmApprovalDate.Calendar.AccessibleName = resources.GetString("dtmTransDate.Calendar.AccessibleName");
            this.dtmApprovalDate.Calendar.AnnuallyBoldedDates = ((System.DateTime[])(resources.GetObject("dtmTransDate.Calendar.AnnuallyBoldedDates")));
            this.dtmApprovalDate.Calendar.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("dtmTransDate.Calendar.BackgroundImage")));
            this.dtmApprovalDate.Calendar.BoldedDates = ((System.DateTime[])(resources.GetObject("dtmTransDate.Calendar.BoldedDates")));
            this.dtmApprovalDate.Calendar.CalendarDimensions = ((System.Drawing.Size)(resources.GetObject("dtmTransDate.Calendar.CalendarDimensions")));
            this.dtmApprovalDate.Calendar.Enabled = ((bool)(resources.GetObject("dtmTransDate.Calendar.Enabled")));
            this.dtmApprovalDate.Calendar.FirstDayOfWeek = ((System.Windows.Forms.Day)(resources.GetObject("dtmTransDate.Calendar.FirstDayOfWeek")));
            this.dtmApprovalDate.Calendar.Font = ((System.Drawing.Font)(resources.GetObject("dtmTransDate.Calendar.Font")));
            this.dtmApprovalDate.Calendar.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("dtmTransDate.Calendar.ImeMode")));
            this.dtmApprovalDate.Calendar.MonthlyBoldedDates = ((System.DateTime[])(resources.GetObject("dtmTransDate.Calendar.MonthlyBoldedDates")));
            this.dtmApprovalDate.Calendar.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("dtmTransDate.Calendar.RightToLeft")));
            this.dtmApprovalDate.Calendar.ShowClearButton = ((bool)(resources.GetObject("dtmTransDate.Calendar.ShowClearButton")));
            this.dtmApprovalDate.Calendar.ShowTodayButton = ((bool)(resources.GetObject("dtmTransDate.Calendar.ShowTodayButton")));
            this.dtmApprovalDate.Calendar.ShowWeekNumbers = ((bool)(resources.GetObject("dtmTransDate.Calendar.ShowWeekNumbers")));
            this.dtmApprovalDate.CaseSensitive = ((bool)(resources.GetObject("dtmApprovalDate.CaseSensitive")));
            this.dtmApprovalDate.Culture = ((int)(resources.GetObject("dtmApprovalDate.Culture")));
            this.dtmApprovalDate.CurrentTimeZone = ((bool)(resources.GetObject("dtmApprovalDate.CurrentTimeZone")));
            this.dtmApprovalDate.CustomFormat = resources.GetString("dtmApprovalDate.CustomFormat");
            this.dtmApprovalDate.DaylightTimeAdjustment = ((C1.Win.C1Input.DaylightTimeAdjustmentEnum)(resources.GetObject("dtmApprovalDate.DaylightTimeAdjustment")));
            this.dtmApprovalDate.DisplayFormat.CustomFormat = resources.GetString("dtmApprovalDate.DisplayFormat.CustomFormat");
            this.dtmApprovalDate.DisplayFormat.FormatType = ((C1.Win.C1Input.FormatTypeEnum)(resources.GetObject("dtmApprovalDate.DisplayFormat.FormatType")));
            this.dtmApprovalDate.DisplayFormat.Inherit = ((C1.Win.C1Input.FormatInfoInheritFlags)(resources.GetObject("dtmApprovalDate.DisplayFormat.Inherit")));
            this.dtmApprovalDate.DisplayFormat.NullText = resources.GetString("dtmApprovalDate.DisplayFormat.NullText");
            this.dtmApprovalDate.DisplayFormat.TrimEnd = ((bool)(resources.GetObject("dtmApprovalDate.DisplayFormat.TrimEnd")));
            this.dtmApprovalDate.DisplayFormat.TrimStart = ((bool)(resources.GetObject("dtmApprovalDate.DisplayFormat.TrimStart")));
            this.dtmApprovalDate.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("dtmApprovalDate.Dock")));
            this.dtmApprovalDate.DropDownFormAlign = ((C1.Win.C1Input.DropDownFormAlignmentEnum)(resources.GetObject("dtmApprovalDate.DropDownFormAlign")));
            this.dtmApprovalDate.EditFormat.CustomFormat = resources.GetString("dtmApprovalDate.EditFormat.CustomFormat");
            this.dtmApprovalDate.EditFormat.FormatType = ((C1.Win.C1Input.FormatTypeEnum)(resources.GetObject("dtmApprovalDate.EditFormat.FormatType")));
            this.dtmApprovalDate.EditFormat.Inherit = ((C1.Win.C1Input.FormatInfoInheritFlags)(resources.GetObject("dtmApprovalDate.EditFormat.Inherit")));
            this.dtmApprovalDate.EditFormat.NullText = resources.GetString("dtmApprovalDate.EditFormat.NullText");
            this.dtmApprovalDate.EditFormat.TrimEnd = ((bool)(resources.GetObject("dtmApprovalDate.EditFormat.TrimEnd")));
            this.dtmApprovalDate.EditFormat.TrimStart = ((bool)(resources.GetObject("dtmApprovalDate.EditFormat.TrimStart")));
            this.dtmApprovalDate.EditMask = resources.GetString("dtmApprovalDate.EditMask");
            this.dtmApprovalDate.EmptyAsNull = ((bool)(resources.GetObject("dtmApprovalDate.EmptyAsNull")));
            this.dtmApprovalDate.Enabled = ((bool)(resources.GetObject("dtmApprovalDate.Enabled")));
            this.dtmApprovalDate.ErrorInfo.BeepOnError = ((bool)(resources.GetObject("dtmApprovalDate.ErrorInfo.BeepOnError")));
            this.dtmApprovalDate.ErrorInfo.ErrorMessage = resources.GetString("dtmApprovalDate.ErrorInfo.ErrorMessage");
            this.dtmApprovalDate.ErrorInfo.ErrorMessageCaption = resources.GetString("dtmApprovalDate.ErrorInfo.ErrorMessageCaption");
            this.dtmApprovalDate.ErrorInfo.ShowErrorMessage = ((bool)(resources.GetObject("dtmApprovalDate.ErrorInfo.ShowErrorMessage")));
            this.dtmApprovalDate.ErrorInfo.ValueOnError = ((object)(resources.GetObject("dtmApprovalDate.ErrorInfo.ValueOnError")));
            this.dtmApprovalDate.Font = ((System.Drawing.Font)(resources.GetObject("dtmApprovalDate.Font")));
            this.dtmApprovalDate.FormatType = ((C1.Win.C1Input.FormatTypeEnum)(resources.GetObject("dtmApprovalDate.FormatType")));
            this.dtmApprovalDate.GapHeight = ((int)(resources.GetObject("dtmApprovalDate.GapHeight")));
            this.dtmApprovalDate.GMTOffset = ((System.TimeSpan)(resources.GetObject("dtmApprovalDate.GMTOffset")));
            this.dtmApprovalDate.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("dtmApprovalDate.ImeMode")));
            this.dtmApprovalDate.InitialSelection = ((C1.Win.C1Input.InitialSelectionEnum)(resources.GetObject("dtmApprovalDate.InitialSelection")));
            this.dtmApprovalDate.Location = ((System.Drawing.Point)(resources.GetObject("dtmApprovalDate.Location")));
            this.dtmApprovalDate.MaskInfo.AutoTabWhenFilled = ((bool)(resources.GetObject("dtmApprovalDate.MaskInfo.AutoTabWhenFilled")));
            this.dtmApprovalDate.MaskInfo.CaseSensitive = ((bool)(resources.GetObject("dtmApprovalDate.MaskInfo.CaseSensitive")));
            this.dtmApprovalDate.MaskInfo.CopyWithLiterals = ((bool)(resources.GetObject("dtmApprovalDate.MaskInfo.CopyWithLiterals")));
            this.dtmApprovalDate.MaskInfo.EditMask = resources.GetString("dtmApprovalDate.MaskInfo.EditMask");
            this.dtmApprovalDate.MaskInfo.EmptyAsNull = ((bool)(resources.GetObject("dtmApprovalDate.MaskInfo.EmptyAsNull")));
            this.dtmApprovalDate.MaskInfo.ErrorMessage = resources.GetString("dtmApprovalDate.MaskInfo.ErrorMessage");
            this.dtmApprovalDate.MaskInfo.Inherit = ((C1.Win.C1Input.MaskInfoInheritFlags)(resources.GetObject("dtmApprovalDate.MaskInfo.Inherit")));
            this.dtmApprovalDate.MaskInfo.PromptChar = ((char)(resources.GetObject("dtmApprovalDate.MaskInfo.PromptChar")));
            this.dtmApprovalDate.MaskInfo.ShowLiterals = ((C1.Win.C1Input.ShowLiteralsEnum)(resources.GetObject("dtmApprovalDate.MaskInfo.ShowLiterals")));
            this.dtmApprovalDate.MaskInfo.StoredEmptyChar = ((char)(resources.GetObject("dtmApprovalDate.MaskInfo.StoredEmptyChar")));
            this.dtmApprovalDate.MaxLength = ((int)(resources.GetObject("dtmApprovalDate.MaxLength")));
            this.dtmApprovalDate.Name = "dtmApprovalDate";
            this.dtmApprovalDate.NullText = resources.GetString("dtmApprovalDate.NullText");
            this.dtmApprovalDate.ParseInfo.CaseSensitive = ((bool)(resources.GetObject("dtmApprovalDate.ParseInfo.CaseSensitive")));
            this.dtmApprovalDate.ParseInfo.CustomFormat = resources.GetString("dtmApprovalDate.ParseInfo.CustomFormat");
            this.dtmApprovalDate.ParseInfo.DateTimeStyle = ((C1.Win.C1Input.DateTimeStyleFlags)(resources.GetObject("dtmApprovalDate.ParseInfo.DateTimeStyle")));
            this.dtmApprovalDate.ParseInfo.EmptyAsNull = ((bool)(resources.GetObject("dtmApprovalDate.ParseInfo.EmptyAsNull")));
            this.dtmApprovalDate.ParseInfo.ErrorMessage = resources.GetString("dtmApprovalDate.ParseInfo.ErrorMessage");
            this.dtmApprovalDate.ParseInfo.FormatType = ((C1.Win.C1Input.FormatTypeEnum)(resources.GetObject("dtmApprovalDate.ParseInfo.FormatType")));
            this.dtmApprovalDate.ParseInfo.Inherit = ((C1.Win.C1Input.ParseInfoInheritFlags)(resources.GetObject("dtmApprovalDate.ParseInfo.Inherit")));
            this.dtmApprovalDate.ParseInfo.NullText = resources.GetString("dtmApprovalDate.ParseInfo.NullText");
            this.dtmApprovalDate.ParseInfo.TrimEnd = ((bool)(resources.GetObject("dtmApprovalDate.ParseInfo.TrimEnd")));
            this.dtmApprovalDate.ParseInfo.TrimStart = ((bool)(resources.GetObject("dtmApprovalDate.ParseInfo.TrimStart")));
            this.dtmApprovalDate.PasswordChar = ((char)(resources.GetObject("dtmApprovalDate.PasswordChar")));
            this.dtmApprovalDate.PostValidation.CaseSensitive = ((bool)(resources.GetObject("dtmApprovalDate.PostValidation.CaseSensitive")));
            this.dtmApprovalDate.PostValidation.ErrorMessage = resources.GetString("dtmApprovalDate.PostValidation.ErrorMessage");
            this.dtmApprovalDate.PostValidation.Inherit = ((C1.Win.C1Input.PostValidationInheritFlags)(resources.GetObject("dtmApprovalDate.PostValidation.Inherit")));
            this.dtmApprovalDate.PostValidation.Validation = ((C1.Win.C1Input.PostValidationTypeEnum)(resources.GetObject("dtmApprovalDate.PostValidation.Validation")));
            this.dtmApprovalDate.PostValidation.Values = ((System.Array)(resources.GetObject("dtmApprovalDate.PostValidation.Values")));
            this.dtmApprovalDate.PostValidation.ValuesExcluded = ((System.Array)(resources.GetObject("dtmApprovalDate.PostValidation.ValuesExcluded")));
            this.dtmApprovalDate.PreValidation.CaseSensitive = ((bool)(resources.GetObject("dtmApprovalDate.PreValidation.CaseSensitive")));
            this.dtmApprovalDate.PreValidation.ErrorMessage = resources.GetString("dtmApprovalDate.PreValidation.ErrorMessage");
            this.dtmApprovalDate.PreValidation.Inherit = ((C1.Win.C1Input.PreValidationInheritFlags)(resources.GetObject("dtmApprovalDate.PreValidation.Inherit")));
            this.dtmApprovalDate.PreValidation.ItemSeparator = resources.GetString("dtmApprovalDate.PreValidation.ItemSeparator");
            this.dtmApprovalDate.PreValidation.PatternString = resources.GetString("dtmApprovalDate.PreValidation.PatternString");
            this.dtmApprovalDate.PreValidation.RegexOptions = ((C1.Win.C1Input.RegexOptionFlags)(resources.GetObject("dtmApprovalDate.PreValidation.RegexOptions")));
            this.dtmApprovalDate.PreValidation.TrimEnd = ((bool)(resources.GetObject("dtmApprovalDate.PreValidation.TrimEnd")));
            this.dtmApprovalDate.PreValidation.TrimStart = ((bool)(resources.GetObject("dtmApprovalDate.PreValidation.TrimStart")));
            this.dtmApprovalDate.PreValidation.Validation = ((C1.Win.C1Input.PreValidationTypeEnum)(resources.GetObject("dtmApprovalDate.PreValidation.Validation")));
            this.dtmApprovalDate.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("dtmApprovalDate.RightToLeft")));
            this.dtmApprovalDate.ShowFocusRectangle = ((bool)(resources.GetObject("dtmApprovalDate.ShowFocusRectangle")));
            this.dtmApprovalDate.Size = ((System.Drawing.Size)(resources.GetObject("dtmApprovalDate.Size")));
            this.dtmApprovalDate.TabIndex = ((int)(resources.GetObject("dtmApprovalDate.TabIndex")));
            this.dtmApprovalDate.Tag = ((object)(resources.GetObject("dtmApprovalDate.Tag")));
            this.dtmApprovalDate.TextAlign = ((System.Windows.Forms.HorizontalAlignment)(resources.GetObject("dtmApprovalDate.TextAlign")));
            this.dtmApprovalDate.TrimEnd = ((bool)(resources.GetObject("dtmApprovalDate.TrimEnd")));
            this.dtmApprovalDate.TrimStart = ((bool)(resources.GetObject("dtmApprovalDate.TrimStart")));
            this.dtmApprovalDate.UserCultureOverride = ((bool)(resources.GetObject("dtmApprovalDate.UserCultureOverride")));
            this.dtmApprovalDate.Value = ((object)(resources.GetObject("dtmApprovalDate.Value")));
            this.dtmApprovalDate.VerticalAlign = ((C1.Win.C1Input.VerticalAlignEnum)(resources.GetObject("dtmApprovalDate.VerticalAlign")));
            this.dtmApprovalDate.Visible = ((bool)(resources.GetObject("dtmApprovalDate.Visible")));
            this.dtmApprovalDate.VisibleButtons = ((C1.Win.C1Input.DropDownControlButtonFlags)(resources.GetObject("dtmApprovalDate.VisibleButtons")));
            // 
            // Party
            // 
            this.AccessibleDescription = resources.GetString("$this.AccessibleDescription");
            this.AccessibleName = resources.GetString("$this.AccessibleName");
            this.AutoScaleBaseSize = ((System.Drawing.Size)(resources.GetObject("$this.AutoScaleBaseSize")));
            this.AutoScroll = ((bool)(resources.GetObject("$this.AutoScroll")));
            this.AutoScrollMargin = ((System.Drawing.Size)(resources.GetObject("$this.AutoScrollMargin")));
            this.AutoScrollMinSize = ((System.Drawing.Size)(resources.GetObject("$this.AutoScrollMinSize")));
            this.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("$this.BackgroundImage")));
            this.CancelButton = this.btnClose;
            this.ClientSize = ((System.Drawing.Size)(resources.GetObject("$this.ClientSize")));
            this.Controls.Add(this.dtmApprovalDate);
            this.Controls.Add(this.txtMAPBankAccName);
            this.Controls.Add(this.txtMAPBankAccNo);
            this.Controls.Add(this.txtCurrency);
            this.Controls.Add(this.txtBankAccount);
            this.Controls.Add(this.txtVATCode);
            this.Controls.Add(this.txtFax);
            this.Controls.Add(this.txtPhone);
            this.Controls.Add(this.txtWebSite);
            this.Controls.Add(this.txtName);
            this.Controls.Add(this.txtCode);
            this.Controls.Add(this.txtZIP);
            this.Controls.Add(this.txtAddress);
            this.Controls.Add(this.txtState);
            this.Controls.Add(this.lblMAPBankAccountName);
            this.Controls.Add(this.lblMAPBankAccountNo);
            this.Controls.Add(this.btnCurrency);
            this.Controls.Add(this.lblCurrency);
            this.Controls.Add(this.cboPaymentTerm);
            this.Controls.Add(this.lblPaymentTerm);
            this.Controls.Add(this.cboCity);
            this.Controls.Add(this.cboCountry);
            this.Controls.Add(this.cboType);
            this.Controls.Add(this.lblBankAccount);
            this.Controls.Add(this.lblVATCode);
            this.Controls.Add(this.lblFax);
            this.Controls.Add(this.lblPhone);
            this.Controls.Add(this.btnLocation);
            this.Controls.Add(this.lblWebSite);
            this.Controls.Add(this.lblType);
            this.Controls.Add(this.chkDelete);
            this.Controls.Add(this.btnEdit);
            this.Controls.Add(this.btnClose);
            this.Controls.Add(this.btnHelp);
            this.Controls.Add(this.btnDelete);
            this.Controls.Add(this.btnSave);
            this.Controls.Add(this.btnAdd);
            this.Controls.Add(this.btnSearchName);
            this.Controls.Add(this.lblName);
            this.Controls.Add(this.btnSearchCode);
            this.Controls.Add(this.lblCode);
            this.Controls.Add(this.btnContacts);
            this.Controls.Add(this.lblCountry);
            this.Controls.Add(this.lblZIP);
            this.Controls.Add(this.lblState);
            this.Controls.Add(this.lblCity);
            this.Controls.Add(this.lblAddress);
            this.Controls.Add(this.lblBoth);
            this.Controls.Add(this.lblCustomer);
            this.Controls.Add(this.lblVendor);
            this.Controls.Add(this.lblVendorOutside);
            this.Controls.Add(this.lblApprovalDate);
            this.Enabled = ((bool)(resources.GetObject("$this.Enabled")));
            this.Font = ((System.Drawing.Font)(resources.GetObject("$this.Font")));
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("$this.ImeMode")));
            this.KeyPreview = true;
            this.Location = ((System.Drawing.Point)(resources.GetObject("$this.Location")));
            this.MaximizeBox = false;
            this.MaximumSize = ((System.Drawing.Size)(resources.GetObject("$this.MaximumSize")));
            this.MinimumSize = ((System.Drawing.Size)(resources.GetObject("$this.MinimumSize")));
            this.Name = "Party";
            this.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("$this.RightToLeft")));
            this.StartPosition = ((System.Windows.Forms.FormStartPosition)(resources.GetObject("$this.StartPosition")));
            this.Text = resources.GetString("$this.Text");
            this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Party_KeyDown);
            this.Closing += new System.ComponentModel.CancelEventHandler(this.Party_Closing);
            this.Load += new System.EventHandler(this.Party_Load);
            ((System.ComponentModel.ISupportInitialize)(this.cboType)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.cboCountry)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.cboCity)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.cboPaymentTerm)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.dtmApprovalDate)).EndInit();
            this.ResumeLayout(false);

        }
        #endregion

        #region Private Methods
        //**************************************************************************              
        ///    <Description>
        ///       This method uses to intial data for combo boxs in form
        ///    </Description>
        ///    <Inputs>
        ///        
        ///    </Inputs>
        ///    <Outputs>
        ///    
        ///    </Outputs>
        ///    <Returns>
        ///    
        ///    </Returns>
        ///    <Authors>
        ///       DungLA
        ///    </Authors>
        ///    <History>
        ///    03-Mar-2005
        ///    </History>
        ///    <Notes>
        ///    </Notes>
        //**************************************************************************
        private void InitComboBoxs()
        {
            //			try
            //			{
            // get all city first
            tblCityData = boUtils.ListAllCity();
            // put data to Country Combo
            DataTable tblCountry = boUtils.ListCountry();

            FormControlComponents.PutDataIntoC1ComboBox(cboCountry, tblCountry, MST_CountryTable.CODE_FLD, MST_CountryTable.COUNTRYID_FLD, MST_CountryTable.TABLE_NAME, true);
            cboCountry.SelectedIndex = -1;

            // build a data table for Type combo
            DataTable dtbType = boParty.GetPartyType();

            // bind to combo
            FormControlComponents.PutDataIntoC1ComboBox(cboType, dtbType, enm_PartyTypeEnumTable.NAME_FLD, enm_PartyTypeEnumTable.VALUE_FLD, enm_PartyTypeEnumTable.TABLE_NAME, true);
            cboType.SelectedIndex = -1;
            // Paymentterm cbo
            DataTable dtbPaymentTerm = (new MST_PaymentTermDS()).List().Tables[0];
            FormControlComponents.PutDataIntoC1ComboBox(cboPaymentTerm, dtbPaymentTerm, MST_PaymentTermTable.CODE_FLD, MST_PaymentTermTable.PAYMENTTERMID_FLD, MST_PaymentTermTable.TABLE_NAME, true);
            cboPaymentTerm.SelectedIndex = -1;
            //			}
            //			catch (PCSException ex)
            //			{
            //				throw ex;
            //			}
            //			catch (Exception ex)
            //			{
            //				throw ex;
            //			}
        }

        //**************************************************************************              
        ///    <Description>
        ///       This method uses to switching form mode based on form action
        ///    </Description>
        ///    <Inputs>
        ///        
        ///    </Inputs>
        ///    <Outputs>
        ///    
        ///    </Outputs>
        ///    <Returns>
        ///    
        ///    </Returns>
        ///    <Authors>
        ///       DungLA
        ///    </Authors>
        ///    <History>
        ///    03-Mar-2005
        ///    </History>
        ///    <Notes>
        ///    </Notes>
        //**************************************************************************
        private void SwitchFormMode()
        {
            switch (mFormAction)
            {
                case EnumAction.Default:
                    foreach (Control objControl in this.Controls)
                    {
                        if ((objControl is TextBox) || (objControl is ComboBox)
                            || (objControl is C1Combo) || (objControl is CheckBox))
                        {
                            if (objControl != txtCode)
                                objControl.Enabled = false;
                        }
                    }

                    txtCode.Enabled = true;
                    txtName.Enabled = true;
                    txtMAPBankAccName.Enabled = false;
                    txtMAPBankAccNo.Enabled = false;
                    dtmApprovalDate.Enabled = false;
                    btnAdd.Enabled = true;
                    btnSave.Enabled = false;
                    btnCurrency.Enabled = false;
                    if (voParty.PartyID > 0)
                    {
                        btnEdit.Enabled = true;
                        btnLocation.Enabled = true;
                        btnContacts.Enabled = true;
                        btnDelete.Enabled = true;
                    }
                    else
                    {
                        btnLocation.Enabled = false;
                        btnContacts.Enabled = false;
                        btnEdit.Enabled = false;
                        btnDelete.Enabled = false;
                    }

                    btnSearchCode.Enabled = true;
                    btnSearchName.Enabled = true;

                    break;

                default:
                    foreach (Control objControl in this.Controls)
                    {
                        if ((objControl is TextBox) || (objControl is ComboBox)
                            || (objControl is C1Combo) || (objControl is CheckBox))
                            objControl.Enabled = true;
                    }

                    txtCode.Enabled = true && (mFormAction != EnumAction.Default);
                    btnSave.Enabled = true;
                    txtName.Enabled = true;
                    dtmApprovalDate.Enabled = true;
                    btnCurrency.Enabled = true;
                    btnSearchCode.Enabled = false;
                    btnSearchName.Enabled = false;
                    btnLocation.Enabled = false;
                    btnContacts.Enabled = false;
                    btnAdd.Enabled = false;
                    btnEdit.Enabled = false;
                    btnDelete.Enabled = false;

                    break;
            }
        }
        //**************************************************************************              
        ///    <Description>
        ///       This method uses to load all data from VO object to controls
        ///    </Description>
        ///    <Inputs>
        ///        
        ///    </Inputs>
        ///    <Outputs>
        ///    
        ///    </Outputs>
        ///    <Returns>
        ///    
        ///    </Returns>
        ///    <Authors>
        ///       DungLA
        ///    </Authors>
        ///    <History>
        ///    03-Mar-2005
        ///    </History>
        ///    <Notes>
        ///    </Notes>
        //**************************************************************************
        private void LoadDataToControl(MST_Party pvoParty)
        {
            if ((pvoParty != null) && (pvoParty.PartyID > 0))
            {
                // load all data from VO to controls
                txtCode.Text = pvoParty.Code;
                txtName.Text = pvoParty.Name;
                txtAddress.Text = pvoParty.Address;
                cboType.SelectedValue = pvoParty.Type;
                if (pvoParty.CountryID != null)
                    cboCountry.SelectedValue = pvoParty.CountryID;
                if (pvoParty.CityID!=null)
                cboCity.SelectedValue = pvoParty.CityID;
                txtState.Text = pvoParty.State;
                txtZIP.Text = pvoParty.ZipPost;
                txtWebSite.Text = pvoParty.WebSite;
                chkDelete.Checked = pvoParty.DeleteReason??false;
                txtPhone.Text = pvoParty.Phone;
                txtFax.Text = pvoParty.Fax;
                txtMAPBankAccName.Text = pvoParty.MAPBankAccountName;
                txtMAPBankAccNo.Text = pvoParty.MAPBankAccountNo;
                txtBankAccount.Text = pvoParty.BankAccount;

                if (pvoParty.ApprovalDate != DateTime.MinValue && pvoParty.ApprovalDate != DateTime.MaxValue)
                    dtmApprovalDate.Value = pvoParty.ApprovalDate;
                else
                    dtmApprovalDate.Value = DBNull.Value;

                //HACKED - Added by Tuan TQ. 08 Nov, 2005. Fix Error No. 2636.
                txtVATCode.Text = voParty.VATCode;
                //End
                if (pvoParty.PaymentTermID != null)
                {
                    cboPaymentTerm.SelectedValue = pvoParty.PaymentTermID;
                }

                // currency
                if (voParty.CurrencyID != null)
                {
                    if (voParty.CurrencyID > 0)
                    {
                        DataRowView drowView = FormControlComponents.OpenSearchForm(MST_CurrencyTable.TABLE_NAME, MST_CurrencyTable.CURRENCYID_FLD, voParty.CurrencyID.ToString(), null, false);
                        FillCurrencyData(drowView.Row);
                    }
                    else
                    {
                        txtCurrency.Text = string.Empty;
                        txtCurrency.Tag = null;
                        strLastValidCurrency = string.Empty;
                    }
                }
            }
            else
            {
                // clear data in form
                foreach (Control objControl in this.Controls)
                {
                    if (objControl is C1DateEdit)
                        ((C1DateEdit)objControl).Value = DBNull.Value;
                    else if (objControl is TextBox)
                    {
                        objControl.Text = string.Empty;
                        objControl.Tag = null;
                    }
                    else if (objControl is CheckBox)
                    {
                        ((CheckBox)objControl).Checked = false;
                    }
                    else if (objControl is C1Combo)
                    {
                        ((C1Combo)objControl).SelectedIndex = -1;
                    }
                }
            }
        }
        //**************************************************************************              
        ///    <Description>
        ///       This method uses to save data to database
        ///    </Description>
        ///    <Inputs>
        ///        
        ///    </Inputs>
        ///    <Outputs>
        ///    
        ///    </Outputs>
        ///    <Returns>
        ///    
        ///    </Returns>
        ///    <Authors>
        ///       DungLA
        ///    </Authors>
        ///    <History>
        ///    03-Mar-2005
        ///    </History>
        ///    <Notes>
        ///    </Notes>
        //**************************************************************************
        private bool SaveData()
        {
            voParty.Phone = txtPhone.Text.Trim();
            voParty.Fax = txtFax.Text.Trim();
            voParty.BankAccount = txtBankAccount.Text.Trim();
            voParty.Code = txtCode.Text.Trim();
            voParty.Name = txtName.Text.Trim();
            voParty.MAPBankAccountName = txtMAPBankAccName.Text;
            voParty.MAPBankAccountNo = txtMAPBankAccNo.Text;
            voParty.Address = txtAddress.Text.Trim();
            try
            {
                voParty.CityID = int.Parse(cboCity.SelectedValue.ToString().Trim());
            }
            catch
            { }
            try
            {
                voParty.PaymentTermID = Convert.ToInt32(cboPaymentTerm.SelectedValue);
            }
            catch
            {
                // edited dungla 08-06-2006: fix bug 4049 for Ngannt
                voParty.PaymentTermID = 0;
            }
            try
            {
                voParty.CurrencyID = Convert.ToInt32(txtCurrency.Tag);
            }
            catch
            {
                voParty.CurrencyID = 0;
            }

            voParty.State = txtState.Text.Trim();
            voParty.ZipPost = txtZIP.Text.Trim();
            try
            {
                voParty.CountryID = int.Parse(cboCountry.SelectedValue.ToString().Trim());
            }
            catch
            { }

            voParty.Type = int.Parse(cboType.SelectedValue.ToString());
            voParty.WebSite = txtWebSite.Text.Trim();
            voParty.DeleteReason = chkDelete.Checked;
            if (dtmApprovalDate.Value != DBNull.Value && dtmApprovalDate.Value != null)
                voParty.ApprovalDate = Convert.ToDateTime(dtmApprovalDate.Value);

            //HACKED - Added by Tuan TQ. 08 Nov, 2005. Fix Error No. 2636.
            voParty.VATCode = txtVATCode.Text.Trim();
            //END

            switch (mFormAction)
            {
                case EnumAction.Add:
                    voParty.PartyID = boParty.AddReturnID(voParty);
                    break;
                case EnumAction.Edit:
                    boParty.Update(voParty);
                    break;
            }
            return true;
        }
        //**************************************************************************              
        ///    <Description>
        ///       This method uses to save data to database
        ///    </Description>
        ///    <Inputs>
        ///        
        ///    </Inputs>
        ///    <Outputs>
        ///    
        ///    </Outputs>
        ///    <Returns>
        ///    
        ///    </Returns>
        ///    <Authors>
        ///       DungLA
        ///    </Authors>
        ///    <History>
        ///    03-Mar-2005
        ///    </History>
        ///    <Notes>
        ///    </Notes>
        //**************************************************************************
        private void PutDataToCityCombo(DataRow[] pdrowData)
        {
            try
            {
                // clear data source and related info first
                cboCity.DataSource = null;
                DataTable tblData = new DataTable(MST_CityTable.TABLE_NAME);
                tblData.Columns.Add(MST_CityTable.CITYID_FLD);
                tblData.Columns.Add(MST_CityTable.CODE_FLD);
                tblData.Columns.Add(MST_CityTable.NAME_FLD);
                foreach (DataRow drowTemp in pdrowData)
                {
                    DataRow drowNew = tblData.NewRow();
                    drowNew[MST_CityTable.CITYID_FLD] = drowTemp[MST_CityTable.CITYID_FLD];
                    drowNew[MST_CityTable.CODE_FLD] = drowTemp[MST_CityTable.CODE_FLD];
                    drowNew[MST_CityTable.NAME_FLD] = drowTemp[MST_CityTable.NAME_FLD];
                    tblData.Rows.Add(drowNew);
                }
                FormControlComponents.PutDataIntoC1ComboBox(cboCity, tblData, MST_CityTable.CODE_FLD, MST_CityTable.CITYID_FLD, MST_CityTable.TABLE_NAME, true);
                //cboCity.Items.Insert(0, string.Empty);
            }
            catch (PCSException ex)
            {
                throw ex;
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
        //**************************************************************************              
        ///    <Description>
        ///       This method use to assign Enter and Leave event for all editable control on form
        ///    </Description>
        ///    <Inputs>
        ///       Control to assign
        ///    </Inputs>
        ///    <Outputs>
        ///
        ///    </Outputs>
        ///    <Returns>
        ///       
        ///    </Returns>
        ///    <Authors>
        ///       DungLA
        ///    </Authors>
        ///    <History>
        ///       29-Mar-2005
        ///    </History>
        ///    <Notes>
        ///    </Notes>


        //**************************************************************************              
        ///    <Description>
        ///       This method use to format control when Enter event raise in the form
        ///    </Description>
        ///    <Inputs>
        ///       Control to format
        ///    </Inputs>
        ///    <Outputs>
        ///
        ///    </Outputs>
        ///    <Returns>
        ///       
        ///    </Returns>
        ///    <Authors>
        ///       DungLA
        ///    </Authors>
        ///    <History>
        ///       04-Jan-2005
        ///    </History>
        ///    <Notes>
        ///    </Notes>
        //**************************************************************************
        private void OnEnterControl(object sender, EventArgs e)
        {
            const string METHOD_NAME = THIS + ".OnEnterControl()";
            try
            {
                FormControlComponents.OnEnterControl(sender, e);
            }
            catch (Exception ex)
            {
                // displays the error message.
                PCSMessageBox.Show(ErrorCode.OTHER_ERROR, MessageBoxButtons.OK, MessageBoxIcon.Error);
                // log message.
                try
                {
                    Logger.LogMessage(ex, METHOD_NAME, Level.ERROR);
                }
                catch
                {
                    PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION, MessageBoxButtons.OK, MessageBoxIcon.Error);
                }
            }
        }
        //**************************************************************************              
        ///    <Description>
        ///       This method use to format control when Leave event raise in the form
        ///    </Description>
        ///    <Inputs>
        ///       Control to format
        ///    </Inputs>
        ///    <Outputs>
        ///
        ///    </Outputs>
        ///    <Returns>
        ///       
        ///    </Returns>
        ///    <Authors>
        ///       DungLA
        ///    </Authors>
        ///    <History>
        ///       04-Jan-2005
        ///    </History>
        ///    <Notes>
        ///    </Notes>
        //**************************************************************************
        private void OnLeaveControl(object sender, EventArgs e)
        {
            const string METHOD_NAME = THIS + ".OnLeaveControl()";

            try
            {
                FormControlComponents.OnLeaveControl(sender, e);
            }
            catch (Exception ex)
            {
                // displays the error message.
                PCSMessageBox.Show(ErrorCode.OTHER_ERROR, MessageBoxButtons.OK, MessageBoxIcon.Error);
                // log message.
                try
                {
                    Logger.LogMessage(ex, METHOD_NAME, Level.ERROR);
                }
                catch
                {
                    PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION, MessageBoxButtons.OK, MessageBoxIcon.Error);
                }
            }
        }
        //**************************************************************************              
        ///    <Description>
        ///       This method use to fill data to form
        ///    </Description>
        ///    <Inputs>
        ///       
        ///    </Inputs>
        ///    <Outputs>
        ///
        ///    </Outputs>
        ///    <Returns>
        ///       
        ///    </Returns>
        ///    <Authors>
        ///       DungLA
        ///    </Authors>
        ///    <History>
        ///       29-Mar-2005
        ///    </History>
        ///    <Notes>
        ///    </Notes>
        //**************************************************************************
        private void FillData(DataRow pdrowData)
        {
            // Get MST_PartyVO object
            voParty = new PartyBO().GetParty(int.Parse(pdrowData[MST_PartyTable.PARTYID_FLD].ToString()), string.Empty);
            // Load data to form
            LoadDataToControl(voParty);
            // Switching form mode
            SwitchFormMode();
        }

        /// <summary>
        /// Call this method to PartyLocation open search form 
        /// </summary>
        /// <param name="pstrMethodName"></param>
        /// Method that called this method
        /// <param name="pblnAlwaysShowDialog"></param>
        /// 1: always show open search form
        /// 0: other else
        private bool SelectPartyCode(string pstrMethodName, bool pblnAlwaysShowDialog)
        {
            DataRowView drwResult = FormControlComponents.OpenSearchForm(MST_PartyTable.TABLE_NAME, MST_PartyTable.CODE_FLD, txtCode.Text, null, pblnAlwaysShowDialog);

            // If matching condition, fill values to form's controls
            if (drwResult != null)
            {
                FillData(drwResult.Row);
                //Reset modify status
                txtCode.Modified = false;
            }
            else if (!pblnAlwaysShowDialog)
            {
                txtCode.Focus();
                return false;
            }

            return true;
        }

        /// <summary>
        /// Call this method to Party open search form 
        /// </summary>
        /// <param name="pstrMethodName"></param>
        /// Method that called SelectPartyName
        /// <param name="pblnAlwaysShowDialog"></param>
        /// 1: always show open search form
        /// 0: other else
        private bool SelectPartyName(string pstrMethodName, bool pblnAlwaysShowDialog)
        {
            try
            {
                //Call OpenSearchForm for selecting TransNo	
                DataRowView drwResult = FormControlComponents.OpenSearchForm(MST_PartyTable.TABLE_NAME, MST_PartyTable.NAME_FLD, txtName.Text, null, pblnAlwaysShowDialog);

                // If has TransNo matched searching condition, fill values to form's controls
                if (drwResult != null)
                {
                    FillData(drwResult.Row);
                    //Reset modify status
                    txtName.Modified = false;
                }
                else if (!pblnAlwaysShowDialog)
                {
                    txtName.Focus();
                    return false;
                }

                return true;
            }
            catch (PCSException ex)
            {
                throw new PCSException(ex.mCode, pstrMethodName, ex);
            }
            catch (Exception ex)
            {
                throw new Exception(ex.Message, ex);
            }
        }

        #endregion

        #region Event Processing

        //**************************************************************************              
        ///    <Description>
        ///       Init data, switching form mode and fill data to form
        ///    </Description>
        ///    <Inputs>
        ///        
        ///    </Inputs>
        ///    <Outputs>
        ///    
        ///    </Outputs>
        ///    <Returns>
        ///    
        ///    </Returns>
        ///    <Authors>
        ///       DungLA
        ///    </Authors>
        ///    <History>
        ///    03-Mar-2005
        ///    </History>
        ///    <Notes>
        ///    </Notes>
        //**************************************************************************
        private void Party_Load(object sender, EventArgs e)
        {
            // Code Inserted Automatically

            #region Code Inserted Automatically

            this.Cursor = Cursors.WaitCursor;

            #endregion Code Inserted Automatically


            const string METHOD_NAME = THIS + ".Party_Load()";
            try
            {
                this.Name = THIS;
                //Set form security
                Security objSecurity = new Security();
                if (objSecurity.SetRightForUserOnForm(this, SystemProperty.UserName) == 0)
                {
                    // You don't have the right to view this item
                    PCSMessageBox.Show(ErrorCode.MESSAGE_YOU_HAVE_NO_RIGHT_TO_VIEW, MessageBoxIcon.Warning);
                    this.Close();
                    // Code Inserted Automatically
                    #region Code Inserted Automatically
                    this.Cursor = Cursors.Default;
                    #endregion Code Inserted Automatically

                    return;
                }

                mFormAction = EnumAction.Default;
                // initial combo box
                InitComboBoxs();
                // switch form mode based on FormAction
                SwitchFormMode();
                if (mFormAction == EnumAction.Edit)
                {
                    LoadDataToControl(voParty);
                }
                else
                {
                    LoadDataToControl(null);
                }
            }
            catch (PCSException ex)
            {
                // displays the error message.
                PCSMessageBox.Show(ex.mCode, MessageBoxButtons.OK, MessageBoxIcon.Error);
                // log message.
                try
                {
                    Logger.LogMessage(ex.CauseException, METHOD_NAME, Level.ERROR);
                }
                catch
                {
                    PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION, MessageBoxButtons.OK, MessageBoxIcon.Error);
                }
            }
            catch (Exception ex)
            {
                // displays the error message.
                PCSMessageBox.Show(ErrorCode.OTHER_ERROR, MessageBoxButtons.OK, MessageBoxIcon.Error);
                // log message.
                try
                {
                    Logger.LogMessage(ex, METHOD_NAME, Level.ERROR);
                }
                catch
                {
                    PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION, MessageBoxButtons.OK, MessageBoxIcon.Error);
                }
            }

            // Code Inserted Automatically

            #region Code Inserted Automatically

            this.Cursor = Cursors.Default;

            #endregion Code Inserted Automatically


        }

        //**************************************************************************              
        ///    <Description>
        ///       User enter code and click search button. Display search form, allows user to select Party
        ///       turn form to Edit mode if user select a Party
        ///       else turn form to Add mode
        ///    </Description>
        ///    <Inputs>
        ///        
        ///    </Inputs>
        ///    <Outputs>
        ///    
        ///    </Outputs>
        ///    <Returns>
        ///    
        ///    </Returns>
        ///    <Authors>
        ///       DungLA
        ///    </Authors>
        ///    <History>
        ///    03-Mar-2005
        ///    </History>
        ///    <Notes>
        ///    </Notes>
        //**************************************************************************
        private void btnSearchCode_Click(object sender, EventArgs e)
        {
            // Code Inserted Automatically

            #region Code Inserted Automatically

            this.Cursor = Cursors.WaitCursor;

            #endregion Code Inserted Automatically


            const string METHOD_NAME = THIS + ".btnSearchCode_Click()";

            try
            {
                SelectPartyCode(METHOD_NAME, true);
            }
            catch (PCSException ex)
            {
                PCSMessageBox.Show(ex.mCode, MessageBoxIcon.Error);
                try
                {
                    Logger.LogMessage(ex.CauseException, METHOD_NAME, Level.ERROR);
                }
                catch
                {
                    PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION, MessageBoxIcon.Error);
                }
            }
            catch (Exception ex)
            {
                PCSMessageBox.Show(ErrorCode.OTHER_ERROR, MessageBoxIcon.Error);
                try
                {
                    Logger.LogMessage(ex, METHOD_NAME, Level.ERROR);
                }
                catch
                {
                    PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION, MessageBoxIcon.Error);
                }
            }

            // Code Inserted Automatically

            #region Code Inserted Automatically

            this.Cursor = Cursors.Default;

            #endregion Code Inserted Automatically


        }

        //**************************************************************************              
        ///    <Description>
        ///       User enter Name and click search button. Display search form, allows user to select Party
        ///       turn form to Edit mode if user select a Party
        ///       else turn form to Add mode
        ///    </Description>
        ///    <Inputs>
        ///        
        ///    </Inputs>
        ///    <Outputs>
        ///    
        ///    </Outputs>
        ///    <Returns>
        ///    
        ///    </Returns>
        ///    <Authors>
        ///       DungLA
        ///    </Authors>
        ///    <History>
        ///    03-Mar-2005
        ///    </History>
        ///    <Notes>
        ///    </Notes>
        //**************************************************************************
        private void btnSearchName_Click(object sender, EventArgs e)
        {
            // Code Inserted Automatically

            #region Code Inserted Automatically

            this.Cursor = Cursors.WaitCursor;

            #endregion Code Inserted Automatically


            const string METHOD_NAME = THIS + ".btnSearchName_Click()";

            try
            {
                SelectPartyName(METHOD_NAME, true);
            }
            catch (PCSException ex)
            {
                PCSMessageBox.Show(ex.mCode, MessageBoxIcon.Error);
                try
                {
                    Logger.LogMessage(ex.CauseException, METHOD_NAME, Level.ERROR);
                }
                catch
                {
                    PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION, MessageBoxIcon.Error);
                }
            }
            catch (Exception ex)
            {
                PCSMessageBox.Show(ErrorCode.OTHER_ERROR, MessageBoxIcon.Error);
                try
                {
                    Logger.LogMessage(ex, METHOD_NAME, Level.ERROR);
                }
                catch
                {
                    PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION, MessageBoxIcon.Error);
                }
            }

            // Code Inserted Automatically

            #region Code Inserted Automatically

            this.Cursor = Cursors.Default;

            #endregion Code Inserted Automatically


        }

        //**************************************************************************              
        ///    <Description>
        ///       
        ///    </Description>
        ///    <Inputs>
        ///        
        ///    </Inputs>
        ///    <Outputs>
        ///    
        ///    </Outputs>
        ///    <Returns>
        ///    
        ///    </Returns>
        ///    <Authors>
        ///       DungLA
        ///    </Authors>
        ///    <History>
        ///    03-Mar-2005
        ///    </History>
        ///    <Notes>
        ///    </Notes>
        //**************************************************************************
        private void btnLocation_Click(object sender, EventArgs e)
        {
            // Code Inserted Automatically

            #region Code Inserted Automatically

            this.Cursor = Cursors.WaitCursor;

            #endregion Code Inserted Automatically


            const string METHOD_NAME = THIS + ".btnLocation_Click()";
            try
            {
                //exist immediate if no item's selected
                if (voParty.PartyID <= 0) return;

                Location frmLocation = new Location(voParty);
                frmLocation.FormMode = EnumAction.Default;
                if ((cboCountry.SelectedValue != DBNull.Value) && (cboCountry.SelectedValue != null))
                {
                    frmLocation.DefaultCountryID = int.Parse(cboCountry.SelectedValue.ToString());
                    if ((cboCity.SelectedValue != DBNull.Value) && (cboCity.SelectedValue != null))
                    {
                        frmLocation.DefaultCityID = int.Parse(cboCity.SelectedValue.ToString());
                    }
                }
                frmLocation.ShowDialog();
            }
            catch (PCSException ex)
            {
                // displays the error message.
                PCSMessageBox.Show(ex.mCode, MessageBoxButtons.OK, MessageBoxIcon.Error);
                // log message.
                try
                {
                    Logger.LogMessage(ex.CauseException, METHOD_NAME, Level.ERROR);
                }
                catch
                {
                    PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION, MessageBoxButtons.OK, MessageBoxIcon.Error);
                }
            }
            catch (Exception ex)
            {
                // displays the error message.
                PCSMessageBox.Show(ErrorCode.OTHER_ERROR, MessageBoxButtons.OK, MessageBoxIcon.Error);
                // log message.
                try
                {
                    Logger.LogMessage(ex, METHOD_NAME, Level.ERROR);
                }
                catch
                {
                    PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION, MessageBoxButtons.OK, MessageBoxIcon.Error);
                }
            }

            // Code Inserted Automatically

            #region Code Inserted Automatically

            this.Cursor = Cursors.Default;

            #endregion Code Inserted Automatically


        }

        //**************************************************************************              
        ///    <Description>
        ///       
        ///    </Description>
        ///    <Inputs>
        ///        
        ///    </Inputs>
        ///    <Outputs>
        ///    
        ///    </Outputs>
        ///    <Returns>
        ///    
        ///    </Returns>
        ///    <Authors>
        ///       DungLA
        ///    </Authors>
        ///    <History>
        ///    03-Mar-2005
        ///    </History>
        ///    <Notes>
        ///    </Notes>
        //**************************************************************************
        private void btnContacts_Click(object sender, EventArgs e)
        {
            // Code Inserted Automatically

            #region Code Inserted Automatically

            this.Cursor = Cursors.WaitCursor;

            #endregion Code Inserted Automatically


            const string METHOD_NAME = THIS + ".btnContacts_Click()";
            try
            {
                //exist immediate if no item's selected
                if (voParty.PartyID <= 0) return;

                MasterContacts frmMasterContacts = new MasterContacts(voParty);
                frmMasterContacts.FormMode = EnumAction.Default;
                frmMasterContacts.ShowDialog();
            }
            catch (PCSException ex)
            {
                // displays the error message.
                PCSMessageBox.Show(ex.mCode, MessageBoxButtons.OK, MessageBoxIcon.Error);
                // log message.
                try
                {
                    Logger.LogMessage(ex.CauseException, METHOD_NAME, Level.ERROR);
                }
                catch
                {
                    PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION, MessageBoxButtons.OK, MessageBoxIcon.Error);
                }
            }
            catch (Exception ex)
            {
                // displays the error message.
                PCSMessageBox.Show(ErrorCode.OTHER_ERROR, MessageBoxButtons.OK, MessageBoxIcon.Error);
                // log message.
                try
                {
                    Logger.LogMessage(ex, METHOD_NAME, Level.ERROR);
                }
                catch
                {
                    PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION, MessageBoxButtons.OK, MessageBoxIcon.Error);
                }
            }

            // Code Inserted Automatically

            #region Code Inserted Automatically

            this.Cursor = Cursors.Default;

            #endregion Code Inserted Automatically


        }

        //**************************************************************************              
        ///    <Description>
        ///       Turn formto ADD mode and clear data in form
        ///    </Description>
        ///    <Inputs>
        ///        
        ///    </Inputs>
        ///    <Outputs>
        ///    
        ///    </Outputs>
        ///    <Returns>
        ///    
        ///    </Returns>
        ///    <Authors>
        ///       DungLA
        ///    </Authors>
        ///    <History>
        ///    03-Mar-2005
        ///    </History>
        ///    <Notes>
        ///    </Notes>
        //**************************************************************************
        private void btnAdd_Click(object sender, EventArgs e)
        {
            // Code Inserted Automatically

            #region Code Inserted Automatically

            this.Cursor = Cursors.WaitCursor;

            #endregion Code Inserted Automatically


            const string METHOD_NAME = THIS + ".btnAdd_Click()";
            try
            {
                strLastValidCurrency = string.Empty;
                // turn form to ADD mode
                mFormAction = EnumAction.Add;
                // switching form mode
                SwitchFormMode();
                // reset form
                LoadDataToControl(null);
                txtCode.Text = boUtils.GetNoByMask(MST_PartyTable.TABLE_NAME, MST_PartyTable.CODE_FLD, DateTime.Now, string.Empty);
                txtCode.Focus();
            }
            catch (PCSException ex)
            {
                // displays the error message.
                PCSMessageBox.Show(ex.mCode, MessageBoxButtons.OK, MessageBoxIcon.Error);
                // log message.
                try
                {
                    Logger.LogMessage(ex.CauseException, METHOD_NAME, Level.ERROR);
                }
                catch
                {
                    PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION, MessageBoxButtons.OK, MessageBoxIcon.Error);
                }
            }
            catch (Exception ex)
            {
                // displays the error message.
                PCSMessageBox.Show(ErrorCode.OTHER_ERROR, MessageBoxButtons.OK, MessageBoxIcon.Error);
                // log message.
                try
                {
                    Logger.LogMessage(ex, METHOD_NAME, Level.ERROR);
                }
                catch
                {
                    PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION, MessageBoxButtons.OK, MessageBoxIcon.Error);
                }
            }

            // Code Inserted Automatically

            #region Code Inserted Automatically

            this.Cursor = Cursors.Default;

            #endregion Code Inserted Automatically


        }

        //**************************************************************************              
        ///    <Description>
        ///       Validate data and save to database
        ///    </Description>
        ///    <Inputs>
        ///        
        ///    </Inputs>
        ///    <Outputs>
        ///    
        ///    </Outputs>
        ///    <Returns>
        ///    
        ///    </Returns>
        ///    <Authors>
        ///       DungLA
        ///    </Authors>
        ///    <History>
        ///    03-Mar-2005
        ///    </History>
        ///    <Notes>
        ///    </Notes>
        //**************************************************************************
        private void btnSave_Click(object sender, EventArgs e)
        {
            // Code Inserted Automatically

            #region Code Inserted Automatically

            this.Cursor = Cursors.WaitCursor;

            #endregion Code Inserted Automatically


            const string METHOD_NAME = THIS + ".btnSave_Click()";
            try
            {
                // validate data
                if (FormControlComponents.CheckMandatory(txtCode))
                {
                    PCSMessageBox.Show(ErrorCode.MANDATORY_INVALID, MessageBoxButtons.OK, MessageBoxIcon.Error);
                    txtCode.Focus();
                    txtCode.SelectAll();
                    blnDataIsValid = false;
                    // Code Inserted Automatically
                    #region Code Inserted Automatically
                    this.Cursor = Cursors.Default;
                    #endregion Code Inserted Automatically

                    return;
                }

                if (FormControlComponents.CheckMandatory(txtName))
                {
                    PCSMessageBox.Show(ErrorCode.MANDATORY_INVALID, MessageBoxButtons.OK, MessageBoxIcon.Error);
                    txtName.Focus();
                    txtName.SelectAll();
                    blnDataIsValid = false;
                    // Code Inserted Automatically
                    #region Code Inserted Automatically
                    this.Cursor = Cursors.Default;
                    #endregion Code Inserted Automatically

                    return;
                }

                if (FormControlComponents.CheckMandatory(txtAddress))
                {
                    PCSMessageBox.Show(ErrorCode.MANDATORY_INVALID, MessageBoxButtons.OK, MessageBoxIcon.Error);
                    txtAddress.Focus();
                    txtAddress.SelectAll();
                    blnDataIsValid = false;
                    // Code Inserted Automatically
                    #region Code Inserted Automatically
                    this.Cursor = Cursors.Default;
                    #endregion Code Inserted Automatically

                    return;
                }

                // 21-04-2006 dungla: fix bug 3833 for thuypt: User must enter Country
                if (cboCountry.SelectedIndex < 0 || cboCountry.Text.Trim().Length == 0)
                {
                    PCSMessageBox.Show(ErrorCode.MANDATORY_INVALID, MessageBoxButtons.OK, MessageBoxIcon.Error);
                    cboCountry.Focus();
                    blnDataIsValid = false;
                    // Code Inserted Automatically
                    #region Code Inserted Automatically
                    this.Cursor = Cursors.Default;
                    #endregion Code Inserted Automatically

                    return;
                }
                // 21-04-2006 dungla: fix bug 3833 for thuypt: User must enter Country

                if (cboType.SelectedIndex < 0 || cboType.Text.Trim().Length == 0)
                {
                    PCSMessageBox.Show(ErrorCode.MANDATORY_INVALID, MessageBoxButtons.OK, MessageBoxIcon.Error);
                    cboType.Focus();
                    blnDataIsValid = false;
                    // Code Inserted Automatically
                    #region Code Inserted Automatically
                    this.Cursor = Cursors.Default;
                    #endregion Code Inserted Automatically

                    return;
                }

                if (txtPhone.Text.Trim() != string.Empty)
                {
                    if (!FormControlComponents.IsPhoneFaxNumber(txtPhone.Text.Trim()))
                    {
                        PCSMessageBox.Show(ErrorCode.MESSAGE_INVALID_PHONE_NUMBER, MessageBoxButtons.OK, MessageBoxIcon.Error);
                        txtPhone.Focus();
                        txtPhone.SelectAll();
                        blnDataIsValid = false;
                        // Code Inserted Automatically
                        #region Code Inserted Automatically
                        this.Cursor = Cursors.Default;
                        #endregion Code Inserted Automatically

                        return;
                    }
                }

                if (txtFax.Text.Trim() != string.Empty)
                {
                    if (!FormControlComponents.IsPhoneFaxNumber(txtFax.Text.Trim()))
                    {
                        PCSMessageBox.Show(ErrorCode.MESSAGE_INVALID_FAX_NUMBER, MessageBoxButtons.OK, MessageBoxIcon.Error);
                        txtFax.Focus();
                        txtFax.SelectAll();
                        blnDataIsValid = false;
                        // Code Inserted Automatically
                        #region Code Inserted Automatically
                        this.Cursor = Cursors.Default;
                        #endregion Code Inserted Automatically

                        return;
                    }
                }

                if (SaveData())
                {
                    // display successful message
                    PCSMessageBox.Show(ErrorCode.MESSAGE_AFTER_SAVE_DATA, MessageBoxButtons.OK, MessageBoxIcon.Information);
                    // turn to DEFAULT mode
                    mFormAction = EnumAction.Default;
                    // switching form mode
                    SwitchFormMode();
                    blnDataIsValid = true;
                }
                else
                {
                    // display error message
                    PCSMessageBox.Show(ErrorCode.MESSAGE_CANNOT_SAVE_TO_DB, MessageBoxButtons.OK, MessageBoxIcon.Error);
                    txtCode.Focus();
                    txtCode.SelectAll();
                    blnDataIsValid = false;
                }
            }
            catch (PCSException ex)
            {
                // displays the error message.
                PCSMessageBox.Show(ex.mCode, MessageBoxButtons.OK, MessageBoxIcon.Error);
                // log message.
                try
                {
                    Logger.LogMessage(ex.CauseException, METHOD_NAME, Level.ERROR);
                }
                catch
                {
                    PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION, MessageBoxButtons.OK, MessageBoxIcon.Error);
                }
                txtCode.Focus();
                txtCode.SelectAll();
                blnDataIsValid = false;
            }
            catch (Exception ex)
            {
                // displays the error message.
                PCSMessageBox.Show(ErrorCode.OTHER_ERROR, MessageBoxButtons.OK, MessageBoxIcon.Error);
                // log message.
                try
                {
                    Logger.LogMessage(ex, METHOD_NAME, Level.ERROR);
                }
                catch
                {
                    PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION, MessageBoxButtons.OK, MessageBoxIcon.Error);
                }
                txtCode.Focus();
                txtCode.SelectAll();
                blnDataIsValid = false;
            }

            // Code Inserted Automatically

            #region Code Inserted Automatically

            this.Cursor = Cursors.Default;

            #endregion Code Inserted Automatically


        }

        //**************************************************************************              
        ///    <Description>
        ///       Turn form to edit mode
        ///    </Description>
        ///    <Inputs>
        ///        
        ///    </Inputs>
        ///    <Outputs>
        ///    
        ///    </Outputs>
        ///    <Returns>
        ///    
        ///    </Returns>
        ///    <Authors>
        ///       DungLA
        ///    </Authors>
        ///    <History>
        ///    03-Mar-2005
        ///    </History>
        ///    <Notes>
        ///    </Notes>
        //**************************************************************************

        private void btnEdit_Click(object sender, EventArgs e)
        {
            // Code Inserted Automatically

            #region Code Inserted Automatically

            this.Cursor = Cursors.WaitCursor;

            #endregion Code Inserted Automatically


            const string METHOD_NAME = THIS + ".btnEdit_Click()";
            try
            {
                //exist immediate if no item's selected
                if (voParty.PartyID <= 0) return;

                // turn form to EDIT mode
                mFormAction = EnumAction.Edit;
                // switching form mode
                SwitchFormMode();
                txtCode.Focus();
            }
            catch (PCSException ex)
            {
                // displays the error message.
                PCSMessageBox.Show(ex.mCode, MessageBoxButtons.OK, MessageBoxIcon.Error);
                // log message.
                try
                {
                    Logger.LogMessage(ex.CauseException, METHOD_NAME, Level.ERROR);
                }
                catch
                {
                    PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION, MessageBoxButtons.OK, MessageBoxIcon.Error);
                }
            }
            catch (Exception ex)
            {
                // displays the error message.
                PCSMessageBox.Show(ErrorCode.OTHER_ERROR, MessageBoxButtons.OK, MessageBoxIcon.Error);
                // log message.
                try
                {
                    Logger.LogMessage(ex, METHOD_NAME, Level.ERROR);
                }
                catch
                {
                    PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION, MessageBoxButtons.OK, MessageBoxIcon.Error);
                }
            }

            // Code Inserted Automatically

            #region Code Inserted Automatically

            this.Cursor = Cursors.Default;

            #endregion Code Inserted Automatically


        }

        //**************************************************************************              
        ///    <Description>
        ///       Display confirm message and do delete action if user select Yes option.
        ///       After delete successful, turn form to DEFAULT mode and clear data in form.
        ///    </Description>
        ///    <Inputs>
        ///        
        ///    </Inputs>
        ///    <Outputs>
        ///    
        ///    </Outputs>
        ///    <Returns>
        ///    
        ///    </Returns>
        ///    <Authors>
        ///       DungLA
        ///    </Authors>
        ///    <History>
        ///    03-Mar-2005
        ///    </History>
        ///    <Notes>
        ///    </Notes>
        //**************************************************************************
        private void btnDelete_Click(object sender, EventArgs e)
        {
            // Code Inserted Automatically

            #region Code Inserted Automatically

            this.Cursor = Cursors.WaitCursor;

            #endregion Code Inserted Automatically


            const string METHOD_NAME = THIS + ".btnDelete_Click()";
            try
            {
                //exist immediate if no item's selected
                if (voParty.PartyID <= 0) return;

                // display confirm message
                DialogResult dlgResult = PCSMessageBox.Show(ErrorCode.MESSAGE_DELETE_RECORD, MessageBoxButtons.YesNo, MessageBoxIcon.Question, MessageBoxDefaultButton.Button1);
                if (dlgResult == DialogResult.Yes)
                {
                    // do delete action
                    boParty.Delete(voParty);

                    // clear data of vo object then bind to controls
                    voParty = new MST_Party();
                    LoadDataToControl(voParty);
                    // set form mode to DEFAULT
                    mFormAction = EnumAction.Default;
                    // switching form mode
                    SwitchFormMode();
                }
                txtCode.Focus();
            }
            catch (PCSException ex)
            {
                // displays the error message.
                PCSMessageBox.Show(ex.mCode, MessageBoxButtons.OK, MessageBoxIcon.Error);
                // log message.
                try
                {
                    Logger.LogMessage(ex.CauseException, METHOD_NAME, Level.ERROR);
                }
                catch
                {
                    PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION, MessageBoxButtons.OK, MessageBoxIcon.Error);
                }
            }
            catch (Exception ex)
            {
                // displays the error message.
                PCSMessageBox.Show(ErrorCode.OTHER_ERROR, MessageBoxButtons.OK, MessageBoxIcon.Error);
                // log message.
                try
                {
                    Logger.LogMessage(ex, METHOD_NAME, Level.ERROR);
                }
                catch
                {
                    PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION, MessageBoxButtons.OK, MessageBoxIcon.Error);
                }
            }

            // Code Inserted Automatically

            #region Code Inserted Automatically

            this.Cursor = Cursors.Default;

            #endregion Code Inserted Automatically


        }

        //**************************************************************************              
        ///    <Description>
        ///       
        ///    </Description>
        ///    <Inputs>
        ///        
        ///    </Inputs>
        ///    <Outputs>
        ///    
        ///    </Outputs>
        ///    <Returns>
        ///    
        ///    </Returns>
        ///    <Authors>
        ///       DungLA
        ///    </Authors>
        ///    <History>
        ///    03-Mar-2005
        ///    </History>
        ///    <Notes>
        ///    </Notes>
        //**************************************************************************
        private void btnHelp_Click(object sender, EventArgs e)
        {
            // Code Inserted Automatically
            #region Code Inserted Automatically

            this.Cursor = Cursors.WaitCursor;

            #endregion Code Inserted Automatically



            // Code Inserted Automatically
            #region Code Inserted Automatically

            this.Cursor = Cursors.Default;

            #endregion Code Inserted Automatically


        }

        //**************************************************************************              
        ///    <Description>
        ///       Close the form
        ///    </Description>
        ///    <Inputs>
        ///        
        ///    </Inputs>
        ///    <Outputs>
        ///    
        ///    </Outputs>
        ///    <Returns>
        ///    
        ///    </Returns>
        ///    <Authors>
        ///       DungLA
        ///    </Authors>
        ///    <History>
        ///    03-Mar-2005
        ///    </History>
        ///    <Notes>
        ///    </Notes>
        //**************************************************************************
        private void btnClose_Click(object sender, EventArgs e)
        {

            // Code Inserted Automatically


            #region Code Inserted Automatically


            this.Cursor = Cursors.WaitCursor;


            #endregion Code Inserted Automatically




            Close();


            // Code Inserted Automatically


            #region Code Inserted Automatically


            this.Cursor = Cursors.Default;


            #endregion Code Inserted Automatically



        }

        //**************************************************************************              
        ///    <Description>
        ///       If curretn form mode is not equal to DEFAULT 
        ///       and ask user to save data to database before close the form
        ///    </Description>
        ///    <Inputs>
        ///        
        ///    </Inputs>
        ///    <Outputs>
        ///    
        ///    </Outputs>
        ///    <Returns>
        ///    
        ///    </Returns>
        ///    <Authors>
        ///       DungLA
        ///    </Authors>
        ///    <History>
        ///    03-Mar-2005
        ///    </History>
        ///    <Notes>
        ///    </Notes>
        //**************************************************************************
        private void Party_Closing(object sender, CancelEventArgs e)
        {
            const string METHOD_NAME = THIS + ".Party_Closing()";
            try
            {
                // if form mode is not DEFAULT then display confirm message
                if (mFormAction != EnumAction.Default)
                {
                    DialogResult dlgResult = PCSMessageBox.Show(ErrorCode.MESSAGE_QUESTION_STORE_INTO_DATABASE, MessageBoxButtons.YesNoCancel, MessageBoxIcon.Question, MessageBoxDefaultButton.Button2);
                    switch (dlgResult)
                    {
                        case DialogResult.Yes:

                            btnSave_Click(sender, e);
                            e.Cancel = !blnDataIsValid;
                            break;

                        case DialogResult.No:
                            e.Cancel = false;
                            break;

                        case DialogResult.Cancel:
                            e.Cancel = true;
                            break;
                    }
                }
            }
            catch (PCSException ex)
            {
                // displays the error message.
                PCSMessageBox.Show(ex.mCode, MessageBoxButtons.OK, MessageBoxIcon.Error);
                // log message.
                try
                {
                    Logger.LogMessage(ex.CauseException, METHOD_NAME, Level.ERROR);
                }
                catch
                {
                    PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION, MessageBoxButtons.OK, MessageBoxIcon.Error);
                }
            }
            catch (Exception ex)
            {
                // displays the error message.
                PCSMessageBox.Show(ErrorCode.OTHER_ERROR, MessageBoxButtons.OK, MessageBoxIcon.Error);
                // log message.
                try
                {
                    Logger.LogMessage(ex, METHOD_NAME, Level.ERROR);
                }
                catch
                {
                    PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION, MessageBoxButtons.OK, MessageBoxIcon.Error);
                }
            }
        }

        //**************************************************************************              
        ///    <Description>
        ///       When user select another country, then get all city of selected country
        ///    </Description>
        ///    <Inputs>
        ///        
        ///    </Inputs>
        ///    <Outputs>
        ///    
        ///    </Outputs>
        ///    <Returns>
        ///    
        ///    </Returns>
        ///    <Authors>
        ///       DungLA
        ///    </Authors>
        ///    <History>
        ///    04-Mar-2005
        ///    </History>
        ///    <Notes>
        ///    </Notes>
        //**************************************************************************
        private void cboCountry_SelectedValueChanged(object sender, EventArgs e)
        {
            const string METHOD_NAME = THIS + ".cboCountry_SelectedValueChanged()";
            try
            {
                if (cboCountry.SelectedIndex <= 0) return;

                int intCountryID = 0;
                try
                {
                    intCountryID = int.Parse(cboCountry.SelectedValue.ToString());
                }
                catch { }
                if (intCountryID > 0 && tblCityData.Rows.Count > 0)
                {
                    // select data for city combo
                    DataRow[] drowData = tblCityData.Select(MST_CityTable.COUNTRYID_FLD + Constants.EQUAL + intCountryID.ToString());
                    // put data into City combo
                    PutDataToCityCombo(drowData);
                }
            }
            catch (PCSException ex)
            {
                // displays the error message.
                PCSMessageBox.Show(ex.mCode, MessageBoxButtons.OK, MessageBoxIcon.Error);
                // log message.
                try
                {
                    Logger.LogMessage(ex.CauseException, METHOD_NAME, Level.ERROR);
                }
                catch
                {
                    PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION, MessageBoxButtons.OK, MessageBoxIcon.Error);
                }
            }
            catch (Exception ex)
            {
                // displays the error message.
                PCSMessageBox.Show(ErrorCode.OTHER_ERROR, MessageBoxButtons.OK, MessageBoxIcon.Error);
                // log message.
                try
                {
                    Logger.LogMessage(ex, METHOD_NAME, Level.ERROR);
                }
                catch
                {
                    PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION, MessageBoxButtons.OK, MessageBoxIcon.Error);
                }
            }
        }
        //**************************************************************************              
        ///    <Description>
        ///       F4 - Open search Party form
        ///       F11 - Open MasterContact form with mode is ADD
        ///       F12 - Open Location form with mode is ADD
        ///    </Description>
        ///    <Inputs>
        ///        
        ///    </Inputs>
        ///    <Outputs>
        ///    
        ///    </Outputs>
        ///    <Returns>
        ///    
        ///    </Returns>
        ///    <Authors>
        ///       DungLA
        ///    </Authors>
        ///    <History>
        ///    04-Mar-2005
        ///    </History>
        ///    <Notes>
        ///    </Notes>
        //**************************************************************************
        private void Party_KeyDown(object sender, KeyEventArgs e)
        {

        }

        private void txtName_Validating(object sender, CancelEventArgs e)
        {
            const string METHOD_NAME = THIS + ".txtName_Validating()";

            try
            {
                if (mFormAction != EnumAction.Default) return;

                //Exit immediately if empty
                if (txtName.Text.Length == 0)
                {
                    voParty = new MST_Party();
                    voParty.PartyID = 0;
                    LoadDataToControl(voParty);
                    SwitchFormMode();
                    return;
                }
                else if (!txtName.Modified)
                {
                    return;
                }

                e.Cancel = !SelectPartyName(METHOD_NAME, false);
            }
            catch (PCSException ex)
            {
                PCSMessageBox.Show(ex.mCode, MessageBoxIcon.Error);
                try
                {
                    Logger.LogMessage(ex.CauseException, METHOD_NAME, Level.ERROR);
                }
                catch
                {
                    PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION, MessageBoxIcon.Error);
                }
            }
            catch (Exception ex)
            {
                PCSMessageBox.Show(ErrorCode.OTHER_ERROR, MessageBoxIcon.Error);
                try
                {
                    Logger.LogMessage(ex, METHOD_NAME, Level.ERROR);
                }
                catch
                {
                    PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION, MessageBoxIcon.Error);
                }
            }
        }


        private void txtName_KeyDown(object sender, KeyEventArgs e)
        {
            const string METHOD_NAME = THIS + ".txtName_KeyDown()";

            try
            {
                if ((e.KeyCode == Keys.F4) && (btnSearchName.Enabled))
                {
                    SelectPartyName(METHOD_NAME, true);
                }
            }
            catch (PCSException ex)
            {
                PCSMessageBox.Show(ex.mCode, MessageBoxIcon.Error);
                try
                {
                    Logger.LogMessage(ex.CauseException, METHOD_NAME, Level.ERROR);
                }
                catch
                {
                    PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION, MessageBoxIcon.Error);
                }
            }
            catch (Exception ex)
            {
                PCSMessageBox.Show(ErrorCode.OTHER_ERROR, MessageBoxIcon.Error);
                try
                {
                    Logger.LogMessage(ex, METHOD_NAME, Level.ERROR);
                }
                catch
                {
                    PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION, MessageBoxIcon.Error);
                }
            }
        }

        private void txtCode_KeyDown(object sender, KeyEventArgs e)
        {
            const string METHOD_NAME = THIS + ".txtCode_KeyDown()";

            try
            {
                if ((e.KeyCode == Keys.F4) && (btnSearchCode.Enabled))
                {
                    SelectPartyCode(METHOD_NAME, true);
                }
            }
            catch (PCSException ex)
            {
                PCSMessageBox.Show(ex.mCode, MessageBoxIcon.Error);
                try
                {
                    Logger.LogMessage(ex.CauseException, METHOD_NAME, Level.ERROR);
                }
                catch
                {
                    PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION, MessageBoxIcon.Error);
                }
            }
            catch (Exception ex)
            {
                PCSMessageBox.Show(ErrorCode.OTHER_ERROR, MessageBoxIcon.Error);
                try
                {
                    Logger.LogMessage(ex, METHOD_NAME, Level.ERROR);
                }
                catch
                {
                    PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION, MessageBoxIcon.Error);
                }
            }
        }

        private void txtCode_Validating(object sender, CancelEventArgs e)
        {
            const string METHOD_NAME = THIS + ".txtCode_Validating()";

            try
            {
                //Exit immediately if empty
                if (mFormAction != EnumAction.Default) return;

                if (txtCode.Text.Length == 0)
                {
                    voParty = new MST_Party();
                    voParty.PartyID = 0;
                    LoadDataToControl(voParty);
                    SwitchFormMode();
                    return;
                }
                else if (!txtCode.Modified)
                {
                    return;
                }

                e.Cancel = !SelectPartyCode(METHOD_NAME, false);
            }
            catch (PCSException ex)
            {
                PCSMessageBox.Show(ex.mCode, MessageBoxIcon.Error);
                try
                {
                    Logger.LogMessage(ex.CauseException, METHOD_NAME, Level.ERROR);
                }
                catch
                {
                    PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION, MessageBoxIcon.Error);
                }
            }
            catch (Exception ex)
            {
                PCSMessageBox.Show(ErrorCode.OTHER_ERROR, MessageBoxIcon.Error);
                try
                {
                    Logger.LogMessage(ex, METHOD_NAME, Level.ERROR);
                }
                catch
                {
                    PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION, MessageBoxIcon.Error);
                }
            }
        }



        #endregion

        private void txtCurrency_Validating(object sender, System.ComponentModel.CancelEventArgs e)
        {
            const string METHOD_NAME = THIS + ".txtCurrency_Validating()";
            try
            {
                if (txtCurrency.Text.Trim() == string.Empty)
                {
                    txtCurrency.Tag = null;
                    strLastValidCurrency = string.Empty;
                    return;
                }
                if (strLastValidCurrency == txtCurrency.Text.Trim()) return;
                DataRowView drowView = SearchCurrency(false);
                if (drowView != null)
                    FillCurrencyData(drowView.Row);
                else
                    e.Cancel = true;
            }
            catch (PCSException ex)
            {
                // Displays the error message if throwed from PCSException.
                PCSMessageBox.Show(ex.mCode, MessageBoxIcon.Error);
                try
                {
                    // Log error message into log file.
                    Logger.LogMessage(ex.CauseException, METHOD_NAME, Level.ERROR);
                }
                catch
                {
                    // Show message if logger has an error.
                    PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION, MessageBoxIcon.Error);
                }
            }
            catch (Exception ex)
            {
                // Displays the error message if throwed from system.
                PCSMessageBox.Show(ErrorCode.OTHER_ERROR, MessageBoxIcon.Error);
                try
                {
                    // Log error message into log file.
                    Logger.LogMessage(ex, METHOD_NAME, Level.ERROR);
                }
                catch
                {
                    // Show message if logger has an error.
                    PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION, MessageBoxIcon.Error);
                }
            }
        }

        private void btnCurrency_Click(object sender, System.EventArgs e)
        {
            const string METHOD_NAME = THIS + ".btnCurrency_Click()";
            try
            {
                DataRowView drowView = SearchCurrency(true);
                if (drowView != null)
                    FillCurrencyData(drowView.Row);
                else
                    txtCurrency.Focus();
            }
            catch (PCSException ex)
            {
                // Displays the error message if throwed from PCSException.
                PCSMessageBox.Show(ex.mCode, MessageBoxIcon.Error);
                try
                {
                    // Log error message into log file.
                    Logger.LogMessage(ex.CauseException, METHOD_NAME, Level.ERROR);
                }
                catch
                {
                    // Show message if logger has an error.
                    PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION, MessageBoxIcon.Error);
                }
            }
            catch (Exception ex)
            {
                // Displays the error message if throwed from system.
                PCSMessageBox.Show(ErrorCode.OTHER_ERROR, MessageBoxIcon.Error);
                try
                {
                    // Log error message into log file.
                    Logger.LogMessage(ex, METHOD_NAME, Level.ERROR);
                }
                catch
                {
                    // Show message if logger has an error.
                    PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION, MessageBoxIcon.Error);
                }
            }
        }

        private void txtCurrency_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
        {
            const string METHOD_NAME = THIS + ".txtCurrency_KeyDown()";
            try
            {
                if (e.KeyCode == Keys.F4 && btnCurrency.Enabled)
                    btnCurrency_Click(btnCurrency, new EventArgs());
            }
            catch (PCSException ex)
            {
                // Displays the error message if throwed from PCSException.
                PCSMessageBox.Show(ex.mCode, MessageBoxIcon.Error);
                try
                {
                    // Log error message into log file.
                    Logger.LogMessage(ex.CauseException, METHOD_NAME, Level.ERROR);
                }
                catch
                {
                    // Show message if logger has an error.
                    PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION, MessageBoxIcon.Error);
                }
            }
            catch (Exception ex)
            {
                // Displays the error message if throwed from system.
                PCSMessageBox.Show(ErrorCode.OTHER_ERROR, MessageBoxIcon.Error);
                try
                {
                    // Log error message into log file.
                    Logger.LogMessage(ex, METHOD_NAME, Level.ERROR);
                }
                catch
                {
                    // Show message if logger has an error.
                    PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION, MessageBoxIcon.Error);
                }
            }
        }

        private DataRowView SearchCurrency(bool pblnOpenForm)
        {
            return FormControlComponents.OpenSearchForm(MST_CurrencyTable.TABLE_NAME, MST_CurrencyTable.CODE_FLD, txtCurrency.Text.Trim(), null, pblnOpenForm);
        }
        private void FillCurrencyData(DataRow pdrowData)
        {
            txtCurrency.Text = pdrowData[MST_CurrencyTable.CODE_FLD].ToString();
            txtCurrency.Tag = pdrowData[MST_CurrencyTable.CURRENCYID_FLD];
            // user has changed purpose
            if (strLastValidCurrency != txtCurrency.Text)
                strLastValidCurrency = txtCurrency.Text;
        }
    }
}
